Skip to content

Commit b852c78

Browse files
author
Tung Pham
committed
DOC/REF: Updated go module name to include suffix 'v4' as release version is v4.3.1 now. Updated README.md to reflect the change.
1 parent 899b962 commit b852c78

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ In order to build use device-detection-go the following are required:
4848

4949
## Module and Packages
5050

51-
This module name `device-detection-go` at path `github.com/51Degrees/device-detection-go`
51+
This module name `device-detection-go` at path `github.com/51Degrees/device-detection-go/v4`
5252

5353

5454
This Go Lite version contains only one single package:
@@ -76,7 +76,7 @@ Make sure to run this script as input to `pwsh`. If `pwsh` is run first to creat
7676
Once the build is completed, the Device Detection package can be imported and used as below. This uses go module approach. That means a `go.mod` is needed with `github.com/51Degrees/device-detection-go` specified as a dependency; and the module path is replaced with a path to the checked out `device-detection-go` using `go mod edit --replace`:
7777

7878
```
79-
import "github.com/51Degrees/device-detection-go/dd"
79+
import "github.com/51Degrees/device-detection-go/v4/dd"
8080
```
8181

8282
### Limitation
@@ -105,4 +105,4 @@ go doc -all
105105

106106
## Examples
107107

108-
Examples are included in a separate repository at [device-detection-examples-go](https://github.com/51degrees/device-detection-examples-go). Users can follow its README.md for details and comments in each examples for how to run them.
108+
Examples are included in a separate repository at [device-detection-examples-go](https://github.com/51degrees/device-detection-examples-go). Users can follow its README.md for details and comments in each examples for how to run them.

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
module github.com/51Degrees/device-detection-go
1+
module github.com/51Degrees/device-detection-go/v4
22

33
go 1.17

0 commit comments

Comments
 (0)