mirror of
https://github.com/willnorris/imageproxy.git
synced 2026-04-26 21:36:24 +02:00
move emptyOptions to data.go
This commit is contained in:
parent
cc2bed6b8f
commit
702a07e3b5
2 changed files with 2 additions and 2 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue