mirror of https://mirror.trustie.net/root/bimg.git
11 lines
149 B
Go
11 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"}
|
||
|
}
|