Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Architecture #27

Open
kadirgun opened this issue Oct 4, 2023 · 3 comments
Open

Architecture #27

kadirgun opened this issue Oct 4, 2023 · 3 comments

Comments

@kadirgun
Copy link

kadirgun commented Oct 4, 2023

Can we parse the OS Architecture data?

@mileusna
Copy link
Owner

mileusna commented Oct 4, 2023

Give me some kind of example User Agent string and which data would you like to get from it?

@kadirgun
Copy link
Author

kadirgun commented Oct 5, 2023

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

@mileusna
Copy link
Owner

mileusna commented Oct 5, 2023

Yes, it makes sense. I will take a look.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
@kadirgun @mileusna and others