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

@ -26,8 +26,6 @@ import (
"github.com/disintegration/imaging"
)
var emptyOptions = new(Options)
// Transform the provided image.
func Transform(img []byte, opt *Options) ([]byte, error) {
if opt == nil || reflect.DeepEqual(opt, emptyOptions) {