Skip to content

Shaked/godevicedetect

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Device Detect Package for Go

Provides the ability to detect different devices by it's user agent.

Status: not stable yet!

Installation

$ go get github.com/Shaked/godevicedetect

Usage

Examples

Contribute

If you wish to contribute, please just make sure that if its user agent related, you should add it to the user agent repository.

Open Discussion

Unknown user agents can be saved for later usage. This can be solved by:

  1. Resolve by regex inside the Handle.Unknown method
  2. Save the result into an extra file\resource
  3. Result should point to the right device or be marked as Unknown without re using the regex.

About

Provides the ability to detect different devices by it's user agent.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages