Achieve consistency by using a single Image type
This commit is contained in:
8
pages/upload/formats.go
Normal file
8
pages/upload/formats.go
Normal file
@ -0,0 +1,8 @@
|
||||
package upload
|
||||
|
||||
// We need these to decode uploaded images.
|
||||
import (
|
||||
_ "image/gif"
|
||||
_ "image/jpeg"
|
||||
_ "image/png"
|
||||
)
|
Reference in New Issue
Block a user