Skip to content

Commit ba6b224

Browse files
camerackerdamareyoh
and
damareyoh
authored
add gomod support (#116)
* add gomod support * updated readme * Update go.mod to have minimum go versoin 1.19 --------- Co-authored-by: damareyoh <[email protected]>
1 parent 8345c9a commit ba6b224

File tree

2 files changed

+4
-23
lines changed

2 files changed

+4
-23
lines changed

README.md

Lines changed: 1 addition & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -48,31 +48,9 @@ We recommend using v2.0.0+ of this package, as versions prior to 2.0.0 were
4848
created before our fork of the original package and have some known
4949
deficiencies.
5050

51-
## Installation
52-
53-
It is recommended to use a package manager like `dep` that understands tagged
54-
releases of a package, as well as semantic versioning.
55-
56-
If you are unable to make use of a dependency manager with your project, you can
57-
use the `go get` command to download it directly:
58-
59-
```Shell
60-
$ go get github.com/gofrs/uuid
61-
```
62-
6351
## Requirements
6452

65-
Due to subtests not being supported in older versions of Go, this package is
66-
only regularly tested against Go 1.7+. This package may work perfectly fine with
67-
Go 1.2+, but support for these older versions is not actively maintained.
68-
69-
## Go 1.11 Modules
70-
71-
As of v3.2.0, this repository no longer adopts Go modules, and v3.2.0 no longer has a `go.mod` file. As a result, v3.2.0 also drops support for the `github.com/gofrs/uuid/v3` import path. Only module-based consumers are impacted. With the v3.2.0 release, _all_ gofrs/uuid consumers should use the `github.com/gofrs/uuid` import path.
72-
73-
An existing module-based consumer will continue to be able to build using the `github.com/gofrs/uuid/v3` import path using any valid consumer `go.mod` that worked prior to the publishing of v3.2.0, but any module-based consumer should start using the `github.com/gofrs/uuid` import path when possible and _must_ use the `github.com/gofrs/uuid` import path prior to upgrading to v3.2.0.
74-
75-
Please refer to [Issue #61](https://github.com/gofrs/uuid/issues/61) and [Issue #66](https://github.com/gofrs/uuid/issues/66) for more details.
53+
This package requres Go 1.17 or later
7654

7755
## Usage
7856

go.mod

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
module github.com/gofrs/uuid/v5
2+
3+
go 1.19

0 commit comments

Comments
 (0)