package
module
Version:
v1.0.0
Opens a new window with list of versions in this module.
Published: Oct 17, 2016
License: MIT
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 7
Opens a new window with list of known importers.
README
¶
goimgtype
Return type of image based on mime type
How to install
go get github.com/shamsher31/goimgtype
How to use
package main
import (
"fmt"
"github.com/shamsher31/goimgtype"
)
func main() {
fmt.Println(imgtype.Get("./golang.jpg"))
// image/jpeg
}
goimgext
govdoext
gobinext
License
MIT © Shamsher Ansari
Documentation
¶
Package imgtype return type of image based on mime type
Get returns the type of Image
Source Files
¶
Click to show internal directories.
Click to hide internal directories.