Versions in this module Expand all Collapse all v1 v1.1.0 Jul 21, 2018 Changes in this version + const DEFAULT_CONFIG_FILE + const WB + const WG + const WR + func Compare(c *Config, r *Result) error + type Config struct + AdmissibleDiffPixel uint + BaseImg TaggedImage + ColorSpace string + NoDimensionError bool + PreWait time.Duration + RefImg TaggedImage + Timeout time.Duration + func NewConfig() *Config + func (c *Config) FromArgs(args []string, usage string, mode int) (error, error) + func (c *Config) FromEnv(mode int) (error, error) + func (c *Config) FromJSON(filepath string, silentMissingError bool, mode int) (error, error) + func (c *Config) String() string + func (c *Config) Valid() error + type Result struct + Config string + PixelsDifferent uint + Runtime time.Duration + Score float64 + Timeout bool + type TaggedImage struct + Format string + Height int + Image image.Image + MinX int + MinY int + Source string + Width int + func (i *TaggedImage) FromFilepath(fp string) error + func (i *TaggedImage) String() string