feat: 合并Gin_Vue
This commit is contained in:
8
src/framework/utils/ua/ua.go
Normal file
8
src/framework/utils/ua/ua.go
Normal file
@@ -0,0 +1,8 @@
|
||||
package ua
|
||||
|
||||
import "github.com/mssola/user_agent"
|
||||
|
||||
// 获取user-agent信息
|
||||
func Info(userAgent string) *user_agent.UserAgent {
|
||||
return user_agent.New(userAgent)
|
||||
}
|
||||
Reference in New Issue
Block a user