Versions in this module Expand all Collapse all v1 v1.0.3 Jan 18, 2025 Changes in this version + const DeviceBot + const DeviceDesktop + const DeviceMobile + const DeviceTV + const DeviceTablet + const DeviceUnknown + const MatchBrowser + const MatchOS + const MatchType + const MatchUnknown + const MatchVersion + const Unknown + type Device uint8 + type Match uint8 v1.0.2 Jan 13, 2025 v1.0.1 Sep 10, 2024 Changes in this version + const Falkon + const OpenBSD v1.0.0 Sep 5, 2024 Changes in this version + const Android + const AndroidBrowser + const Bot + const BrowserMatch + const Chrome + const ChromeOS + const Desktop + const Edge + const Firefox + const IE + const IOS + const Linux + const MacOS + const Mobile + const MobileDevice + const Nintendo + const OSMatch + const Opera + const OperaMini + const Safari + const Samsung + const TV + const Tablet + const TypeMatch + const UnknownMatch + const Version + const VersionMatch + const Vivaldi + const Windows + const YandexBrowser + var MatchPrecedenceMap = map[string]uint8 + func GetMatchType(match string) uint8 + func IsDigit(r rune) bool + func IsLetter(r rune) bool + func RemoveAndroidIdentifiers(ua string) string + func RemoveMobileIdentifiers(ua string) string + func RemoveVersions(ua string) string + func ReplaceIndexes(ua string, indexes []int) string + type MatchResults struct + EndIndex int + Match string + MatchType uint8 + Precedence uint8 + func MatchTokenIndexes(ua string) []MatchResults