refactor(resize): add Go version comment

master
Tomas Aparicio 8 years ago
parent 4d54d3dd52
commit d2a6c2d64d

@ -4,7 +4,7 @@ package bimg
// Resize is used to transform a given image as byte buffer // Resize is used to transform a given image as byte buffer
// with the passed options. // with the passed options.
// Used as proxy to resizer() // Used as proxy to resizer() only in Go <= 1.6 versions
func Resize(buf []byte, o Options) ([]byte, error) { func Resize(buf []byte, o Options) ([]byte, error) {
return resizer(buf, o) return resizer(buf, o)
} }

Loading…
Cancel
Save