2
0

rename package

This commit is contained in:
2024-05-20 15:41:56 +03:00
parent 49e03cf5d1
commit a402a6dbb0
3 changed files with 6 additions and 6 deletions
+3 -3
View File
@@ -1,4 +1,4 @@
# Go/Golang package for parsing user agent strings [![GoDoc](https://godoc.org/github.com/andoma-go/useragent?status.svg)](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() {
+2 -2
View File
@@ -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
View File
@@ -5,7 +5,7 @@ import (
"strings"
"testing"
ua "github.com/andoma-go/useragent"
ua "git.company.lan/gopkg/useragent"
)
var testTable = [][]string{