0
0
mirror of https://github.com/thegeeklab/git-sv.git synced 2024-11-10 02:10:38 +00:00

Merge pull request #31 from bvieira/fix-gomodule

fix: set go module name to be compatible with v2
This commit is contained in:
Beatriz Vieira 2021-07-31 20:41:05 -03:00 committed by GitHub
commit 02d5e658ab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 5 additions and 5 deletions

View File

@ -8,7 +8,7 @@ import (
"reflect" "reflect"
"strings" "strings"
"github.com/bvieira/sv4git/sv" "github.com/bvieira/sv4git/v2/sv"
"github.com/imdario/mergo" "github.com/imdario/mergo"
"github.com/kelseyhightower/envconfig" "github.com/kelseyhightower/envconfig"
"gopkg.in/yaml.v3" "gopkg.in/yaml.v3"

View File

@ -4,7 +4,7 @@ import (
"reflect" "reflect"
"testing" "testing"
"github.com/bvieira/sv4git/sv" "github.com/bvieira/sv4git/v2/sv"
) )
func Test_merge(t *testing.T) { func Test_merge(t *testing.T) {

View File

@ -11,7 +11,7 @@ import (
"time" "time"
"github.com/Masterminds/semver/v3" "github.com/Masterminds/semver/v3"
"github.com/bvieira/sv4git/sv" "github.com/bvieira/sv4git/v2/sv"
"github.com/urfave/cli/v2" "github.com/urfave/cli/v2"
"gopkg.in/yaml.v3" "gopkg.in/yaml.v3"
) )

View File

@ -5,7 +5,7 @@ import (
"os" "os"
"path/filepath" "path/filepath"
"github.com/bvieira/sv4git/sv" "github.com/bvieira/sv4git/v2/sv"
"github.com/urfave/cli/v2" "github.com/urfave/cli/v2"
) )

2
go.mod
View File

@ -1,4 +1,4 @@
module github.com/bvieira/sv4git module github.com/bvieira/sv4git/v2
go 1.16 go 1.16