2
0

Исправлены пути к пакету.

This commit is contained in:
Алексей Бадяев 2024-10-19 22:53:00 +07:00
parent 1979c8dce6
commit 3c1422ca10
Signed by: alexey
GPG Key ID: 686FBC1363E4AFAE
8 changed files with 8 additions and 16 deletions

View File

@ -23,7 +23,7 @@ import (
"strings" "strings"
"unsafe" "unsafe"
"github.com/eschao/config/utils" "git.mousesoft.ru/ms/config/utils"
) )
// anyValue wraps a reflect.Value object and implements flag.Value interface // anyValue wraps a reflect.Value object and implements flag.Value interface

View File

@ -20,7 +20,7 @@ import (
"strconv" "strconv"
"testing" "testing"
"github.com/eschao/config/test" "git.mousesoft.ru/ms/config/test"
"github.com/stretchr/testify/assert" "github.com/stretchr/testify/assert"
) )

View File

@ -24,9 +24,9 @@ import (
"path/filepath" "path/filepath"
"reflect" "reflect"
"github.com/eschao/config/cli" "git.mousesoft.ru/ms/config/cli"
"github.com/eschao/config/env" "git.mousesoft.ru/ms/config/env"
"github.com/eschao/config/utils" "git.mousesoft.ru/ms/config/utils"
"gopkg.in/yaml.v3" "gopkg.in/yaml.v3"
) )

View File

@ -22,7 +22,7 @@ import (
"strconv" "strconv"
"testing" "testing"
"github.com/eschao/config/test" "git.mousesoft.ru/ms/config/test"
"github.com/stretchr/testify/assert" "github.com/stretchr/testify/assert"
) )

2
env/env.go vendored
View File

@ -20,7 +20,7 @@ import (
"os" "os"
"reflect" "reflect"
"github.com/eschao/config/utils" "git.mousesoft.ru/ms/config/utils"
) )
// Parse parses given structure interface, extracts environment definitions // Parse parses given structure interface, extracts environment definitions

2
env/env_test.go vendored
View File

@ -20,7 +20,7 @@ import (
"strconv" "strconv"
"testing" "testing"
"github.com/eschao/config/test" "git.mousesoft.ru/ms/config/test"
"github.com/stretchr/testify/assert" "github.com/stretchr/testify/assert"
) )

1
go.mod
View File

@ -3,7 +3,6 @@ module git.mousesoft.ru/ms/config
go 1.23 go 1.23
require ( require (
github.com/eschao/config v0.1.0
github.com/stretchr/testify v1.9.0 github.com/stretchr/testify v1.9.0
gopkg.in/yaml.v3 v3.0.1 gopkg.in/yaml.v3 v3.0.1
) )

7
go.sum
View File

@ -1,17 +1,10 @@
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/eschao/config v0.1.0 h1:vtlNamzs6dC9pE0zyplqql16PFUUlst3VttQ+IT2/rk=
github.com/eschao/config v0.1.0/go.mod h1:XMilcx0dPfk+tlJowGZPZdmdCRnd7AZuFhYA93tYBgA=
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA=
github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg= github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg=
github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY= github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=