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

This commit is contained in:
刘祥超
2022-01-06 17:05:04 +08:00
parent ac4e240912
commit 390be7f6c6
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
}