Skip to content

anujcoinmark/GoHackDevice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#####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>")
  }
For now goDevice is detecting Mobile,Desktop and Tablet.In future we will add support for SmartTV, Watch etc

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages