rename package
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# Go/Golang package for parsing user agent strings [](https://godoc.org/github.com/andoma-go/useragent)
|
||||
# Go/Golang package for parsing user agent strings
|
||||
|
||||
Use `useragent.Parse(userAgent string)` function to parse browser's and bot's user agents strings and get:
|
||||
|
||||
@@ -17,7 +17,7 @@ I constantly improve user agents detection and performance. Fill free to report
|
||||
## Installation <a id="installation"></a>
|
||||
|
||||
```
|
||||
go get github.com/andoma-go/useragent
|
||||
go get git.company.lan/gopkg/useragent
|
||||
```
|
||||
|
||||
## Example<a id="example"></a>
|
||||
@@ -29,7 +29,7 @@ import (
|
||||
"fmt"
|
||||
"strings"
|
||||
|
||||
"github.com/andoma-go/useragent"
|
||||
"git.company.lan/gopkg/useragent"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
module github.com/andoma-go/useragent
|
||||
module git.company.lan/gopkg/useragent
|
||||
|
||||
go 1.14
|
||||
go 1.21.5
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@ import (
|
||||
"strings"
|
||||
"testing"
|
||||
|
||||
ua "github.com/andoma-go/useragent"
|
||||
ua "git.company.lan/gopkg/useragent"
|
||||
)
|
||||
|
||||
var testTable = [][]string{
|
||||
|
||||
Reference in New Issue
Block a user