UserAgent是一个Go库,用于解析HTTP用户代理。 举个例子: package main import ( "fmt" "github.com/mssola/user_agent" ) func main () { // The "New" function will create a new UserAgent object and it will parse // the given string. If you need to parse more strings, you can re-use // this object and ca