From a402a6dbb0fd3341dd6cc05fd1cb6b611400c43d Mon Sep 17 00:00:00 2001 From: Sergey Solodyagin Date: Mon, 20 May 2024 15:41:56 +0300 Subject: [PATCH] rename package --- README.md | 6 +++--- go.mod | 4 ++-- ua_test.go | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index a0d769b..d8fe47a 100644 --- a/README.md +++ b/README.md @@ -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 ``` -go get github.com/andoma-go/useragent +go get git.company.lan/gopkg/useragent ``` ## Example @@ -29,7 +29,7 @@ import ( "fmt" "strings" - "github.com/andoma-go/useragent" + "git.company.lan/gopkg/useragent" ) func main() { diff --git a/go.mod b/go.mod index 6fa6abb..21dd5b1 100644 --- a/go.mod +++ b/go.mod @@ -1,3 +1,3 @@ -module github.com/andoma-go/useragent +module git.company.lan/gopkg/useragent -go 1.14 +go 1.21.5 diff --git a/ua_test.go b/ua_test.go index 69fd753..ba35c5f 100644 --- a/ua_test.go +++ b/ua_test.go @@ -5,7 +5,7 @@ import ( "strings" "testing" - ua "github.com/andoma-go/useragent" + ua "git.company.lan/gopkg/useragent" ) var testTable = [][]string{