mirror of
https://github.com/talgo-cloud/bimg.git
synced 2026-03-09 23:48:13 -07:00
feat(#1): initial implementation
This commit is contained in:
parent
8bcefc7736
commit
63f4b01c8d
14 changed files with 465 additions and 1 deletions
10
type.go
Normal file
10
type.go
Normal 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"}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue