增加${browser.xxx}相关变量

This commit is contained in:
GoEdgeLab
2022-01-06 17:05:04 +08:00
parent 18c20deee5
commit 0b214b4d28
4 changed files with 39 additions and 14 deletions

View File

@@ -5,7 +5,8 @@ package stats
import "github.com/mssola/user_agent"
type UserAgentParserResult struct {
os user_agent.OSInfo
browserName string
browserVersion string
OS user_agent.OSInfo
BrowserName string
BrowserVersion string
IsMobile bool
}