useragent
useragent copied to clipboard
Architecture
Can we parse the OS Architecture data?
Give me some kind of example User Agent string and which data would you like to get from it?
ua := useragent.Parse("Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36")
fmt.Println(ua.Arch) //or ua.OSArch => x64
Yes, it makes sense. I will take a look.