move emptyOptions to data.go

This commit is contained in:
Will Norris 2013-12-26 15:04:14 -08:00
parent cc2bed6b8f
commit 702a07e3b5
2 changed files with 2 additions and 2 deletions

View file

@ -42,6 +42,8 @@ type Options struct {
FlipHorizontal bool
}
var emptyOptions = new(Options)
func (o Options) String() string {
buf := new(bytes.Buffer)
fmt.Fprintf(buf, "%vx%v", o.Width, o.Height)