Versions in this module Expand all Collapse all v1 v1.0.3 Dec 29, 2021 Changes in this version + const Applebot + const ChromeOS v0 v0.9.0 Jan 30, 2020 Changes in this version + const Android + const Chrome + const Edge + const FacebookExternalHit + const Firefox + const Googlebot + const IOS + const InternetExplorer + const Linux + const MacOS + const Opera + const OperaMini + const OperaTouch + const Safari + const Twitterbot + const Vivaldi + const Windows + const WindowsPhone + type UserAgent struct + Bot bool + Desktop bool + Device string + Mobile bool + Name string + OS string + OSVersion string + String string + Tablet bool + URL string + Version string + func Parse(userAgent string) UserAgent + func (ua UserAgent) IsAndroid() bool + func (ua UserAgent) IsChrome() bool + func (ua UserAgent) IsEdge() bool + func (ua UserAgent) IsFacebookbot() bool + func (ua UserAgent) IsFirefox() bool + func (ua UserAgent) IsGooglebot() bool + func (ua UserAgent) IsIOS() bool + func (ua UserAgent) IsInternetExplorer() bool + func (ua UserAgent) IsLinux() bool + func (ua UserAgent) IsMacOS() bool + func (ua UserAgent) IsOpera() bool + func (ua UserAgent) IsOperaMini() bool + func (ua UserAgent) IsSafari() bool + func (ua UserAgent) IsTwitterbot() bool + func (ua UserAgent) IsWindows() bool