util

package
v0.0.0-...-96089b2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 21, 2015 License: MIT Imports: 4 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsSolidColor

func IsSolidColor(img image.Image) bool

func ParseScale

func ParseScale(name string) (filter *imaging.ResampleFilter, err error)

func ScaleName

func ScaleName(filter *imaging.ResampleFilter) (name string)

Types

type StopWatch

type StopWatch struct {
	// contains filtered or unexported fields
}

func GlobalWatch

func GlobalWatch() *StopWatch

func StartedWatch

func StartedWatch() (watch *StopWatch)

func StoppedWatch

func StoppedWatch() (watch *StopWatch)

func (*StopWatch) Elapsed

func (watch *StopWatch) Elapsed() time.Duration

func (*StopWatch) IsRunning

func (watch *StopWatch) IsRunning() bool

func (*StopWatch) Mark

func (watch *StopWatch) Mark() *StopWatch

func (*StopWatch) Start

func (watch *StopWatch) Start() *StopWatch

func (*StopWatch) Stop

func (watch *StopWatch) Stop() *StopWatch

func (*StopWatch) String

func (watch *StopWatch) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL