2
0

Doc changes

This commit is contained in:
mileusna
2017-08-16 18:07:24 +02:00
parent e1aff7cb1e
commit 500b5d184d
2 changed files with 12 additions and 14 deletions
+2 -2
View File
@@ -4,7 +4,7 @@ Parse browser's and bot's user agents strings and determin user agent name, vers
## Status
Still need some work on detecting Andorid device name.
Still need some work on detecting Andorid device names.
## Installation <a id="installation"></a>
```
@@ -67,7 +67,7 @@ func main() {
## Notice
+ Opera and Opera Mini are two browsers, since they operate on very differenta way.
+ Opera and Opera Mini are two browsers, since they operate on very different way.
+ If Googlebot (or any other bot) is detected and it is using its mobile crawler, both `bot` and `mobile` flags will be set to `true`.
-2
View File
@@ -13,13 +13,11 @@ type UserAgent struct {
OS string
OSVersion string
Device string
Mobile bool
Tablet bool
Desktop bool
Bot bool
URL string
String string
}