Skip to content

Commit

Permalink
add gomod support (#116)
Browse files Browse the repository at this point in the history
* add gomod support

* updated readme

* Update go.mod to have minimum go versoin 1.19

---------

Co-authored-by: damareyoh <chackerman@wsu.edu>
  • Loading branch information
cameracker and DamareYoh committed Feb 10, 2023
1 parent 8345c9a commit ba6b224
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 23 deletions.
24 changes: 1 addition & 23 deletions README.md
Expand Up @@ -48,31 +48,9 @@ We recommend using v2.0.0+ of this package, as versions prior to 2.0.0 were
created before our fork of the original package and have some known
deficiencies.

## Installation

It is recommended to use a package manager like `dep` that understands tagged
releases of a package, as well as semantic versioning.

If you are unable to make use of a dependency manager with your project, you can
use the `go get` command to download it directly:

```Shell
$ go get github.com/gofrs/uuid
```

## Requirements

Due to subtests not being supported in older versions of Go, this package is
only regularly tested against Go 1.7+. This package may work perfectly fine with
Go 1.2+, but support for these older versions is not actively maintained.

## Go 1.11 Modules

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.

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.

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.
This package requres Go 1.17 or later

## Usage

Expand Down
3 changes: 3 additions & 0 deletions go.mod
@@ -0,0 +1,3 @@
module github.com/gofrs/uuid/v5

go 1.19

0 comments on commit ba6b224

Please sign in to comment.