Skip to content
This repository was archived by the owner on Feb 20, 2019. It is now read-only.
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: gobuffalo/uuid
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: WithCandour/uuid
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 3 commits
  • 5 files changed
  • 1 contributor

Commits on Mar 31, 2021

  1. Remove NewV2

    jackwakefield committed Mar 31, 2021
    Copy the full SHA
    81450a5 View commit details
  2. Copy the full SHA
    b6e9c74 View commit details
  3. Remove V2

    jackwakefield committed Mar 31, 2021
    Copy the full SHA
    66247d9 View commit details
Showing with 7 additions and 6 deletions.
  1. +0 −2 .gitignore
  2. +0 −3 generator.go
  3. +5 −0 go.mod
  4. +2 −0 go.sum
  5. +0 −1 uuid.go
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -26,5 +26,3 @@ generated/
.vendor/
bin/*
gin-bin
go.mod
go.sum
3 changes: 0 additions & 3 deletions generator.go
Original file line number Diff line number Diff line change
@@ -28,9 +28,6 @@ import (
// NewV1 returns UUID based on current timestamp and MAC address.
var NewV1 = guuid.NewV1

// NewV2 returns DCE Security UUID based on POSIX UID/GID.
var NewV2 = guuid.NewV2

// NewV3 returns UUID based on MD5 hash of namespace UUID and name.
var NewV3 = guuid.NewV3

5 changes: 5 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
module github.com/gobuffalo/uuid

go 1.16

require github.com/gofrs/uuid v4.0.0+incompatible
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
github.com/gofrs/uuid v4.0.0+incompatible h1:1SD/1F5pU8p29ybwgQSwpQk+mwdRrXCYuPhW6m+TnJw=
github.com/gofrs/uuid v4.0.0+incompatible/go.mod h1:b2aQJv3Z4Fp6yNu3cdSllBxTCLRxnplIgP/c0N/04lM=
1 change: 0 additions & 1 deletion uuid.go
Original file line number Diff line number Diff line change
@@ -38,7 +38,6 @@ type UUID = guuid.UUID
// UUID versions
const (
V1 = guuid.V1
V2 = guuid.V2
V3 = guuid.V3
V4 = guuid.V4
V5 = guuid.V5