bimg/type.go
2015-03-29 22:55:04 +02:00

10 lines
149 B
Go

package bimg
type Type struct {
Name string
Mime string
}
func DetermineType(buf []byte) *Type {
return &Type{Name: "jpg", Mime: "image/jpg"}
}