feat(#1): initial implementation

This commit is contained in:
Tomas Aparicio 2015-03-29 22:55:04 +02:00
parent 8bcefc7736
commit 63f4b01c8d
14 changed files with 465 additions and 1 deletions

10
type.go Normal file
View file

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