Skip to content

Commit

Permalink
Add /v2 suffix to import (#47)
Browse files Browse the repository at this point in the history
If we opt-in to modules with a non-v0 or v1 version, we have to
explicitly append /vX to the import path whenever we import.

This is infuriating.
  • Loading branch information
peterbourgon authored May 9, 2019
1 parent 32a8f2e commit be3bccf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ulid_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import (
"testing/quick"
"time"

"github.com/oklog/ulid"
"github.com/oklog/ulid/v2"
)

func ExampleULID() {
Expand Down

0 comments on commit be3bccf

Please sign in to comment.