Achieve consistency by using a single Image type

This commit is contained in:
2019-06-04 13:37:59 +09:00
parent 3d526f9198
commit dd36c852d3
14 changed files with 21 additions and 20 deletions

8
pages/upload/formats.go Normal file
View File

@ -0,0 +1,8 @@
package upload
// We need these to decode uploaded images.
import (
_ "image/gif"
_ "image/jpeg"
_ "image/png"
)