GoDevice
Device detection package in golang based on the user-agent
Install / Use
/learn @hjmodha/GoDeviceREADME
####Device Detection Library in Golang
#####Installing Package:
go get github.com/hiteshmodha/goDevice
#####How To use Package to detect Device:
if deviceType == goDevice.MOBILE {
fmt.Fprintf(w,"<h1>Mobile</h1>")
} else if deviceType == goDevice.WEB {
fmt.Fprintf(w,"<h1>Web</h1>")
} else if deviceType == goDevice.TABLET {
fmt.Fprintf(w,"<h1>Tablet</h1>")
}
#####Example:

For now goDevice is detecting Mobile,Desktop and Tablet.In future we will add support for SmartTV, Watch etc
