Sfoglia il codice sorgente

replace go-version

Aneurin Barker Snook 11 mesi fa
parent
commit
2ff5372bfd
5 ha cambiato i file con 5 aggiunte e 5 eliminazioni
  1. 1 1
      README.md
  2. 1 1
      error.go
  3. 1 1
      go.mod
  4. 1 1
      module.go
  5. 1 1
      module_test.go

+ 1 - 1
README.md

@@ -8,7 +8,7 @@ This package provides simple migration capabilities for any backend.
 
 ## Basic usage
 
-The key type in this package is `Module` which allows mapping [version strings](https://pkg.go.dev/github.com/annybs/go/version) to `Migration` interfaces. For example:
+The key type in this package is `Module` which allows mapping [version strings](https://pkg.go.dev/github.com/annybs/go-version) to `Migration` interfaces. For example:
 
 ```go
 import "github.com/annybs/migres"

+ 1 - 1
error.go

@@ -3,7 +3,7 @@ package migres
 import (
 	"fmt"
 
-	"github.com/annybs/go/version"
+	"github.com/annybs/go-version"
 )
 
 // Migration error.

+ 1 - 1
go.mod

@@ -2,4 +2,4 @@ module github.com/annybs/migres
 
 go 1.21
 
-require github.com/annybs/go/version v0.0.0-20240715075456-18d811b39774
+require github.com/annybs/go-version v0.0.0-20240719133322-63bfda2a7e4e

+ 1 - 1
module.go

@@ -4,7 +4,7 @@ import (
 	"slices"
 	"sort"
 
-	"github.com/annybs/go/version"
+	"github.com/annybs/go-version"
 )
 
 // Module provides migrations keyed by version string.

+ 1 - 1
module_test.go

@@ -4,7 +4,7 @@ import (
 	"errors"
 	"testing"
 
-	"github.com/annybs/go/version"
+	"github.com/annybs/go-version"
 )
 
 func TestModule_Upgrade(t *testing.T) {