Thanks to visit codestin.com
Credit goes to github.com

Skip to content

leprosus/golang-mobile-detector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Golang script to detect mobile devices

Usage

golang_mobile_detector.IsMobileDevice("Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.75 Safari/537.36")

List all functions

  • golang_mobile_detector.IsMobileDevice - defines is device mobile or not
  • golang_mobile_detector.IsPhone - defines is device phone
  • golang_mobile_detector.IsTablet - defines is device tablet
  • golang_mobile_detector.IsMobileOS - defines has device mobile OS
  • golang_mobile_detector.IsMobileBrowser - defines has device mobile browser

About

Golang script to define mobile devices

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages