Skip to content

Commit

Permalink
Replace joshcarp/gop with anz-bank/gop (#96)
Browse files Browse the repository at this point in the history
  • Loading branch information
ChloePlanet committed Jun 11, 2021
1 parent beb6193 commit 724c9c0
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 21 deletions.
2 changes: 1 addition & 1 deletion go.mod
Expand Up @@ -7,6 +7,7 @@ require (
github.com/Masterminds/semver v1.5.0 // indirect
github.com/Masterminds/sprig v2.22.0+incompatible
github.com/alecthomas/assert v0.0.0-20170929043011-405dbfeb8e38
github.com/anz-bank/gop v0.19.0
github.com/anz-bank/pkg v0.0.25
github.com/anz-bank/protoc-gen-sysl v0.0.28
github.com/anz-bank/sysl v0.352.0
Expand All @@ -16,7 +17,6 @@ require (
github.com/gohugoio/hugo v0.74.1
github.com/huandu/xstrings v1.3.2 // indirect
github.com/iancoleman/strcase v0.1.1
github.com/joshcarp/gop v0.4.0
github.com/mitchellh/copystructure v1.0.0 // indirect
github.com/mitchellh/reflectwalk v1.0.1 // indirect
github.com/pkg/errors v0.9.1
Expand Down
6 changes: 2 additions & 4 deletions go.sum

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 5 additions & 6 deletions main.go
Expand Up @@ -9,14 +9,13 @@ import (
"strings"
"time"

"github.com/anz-bank/sysl-catalog/pkg/catalog"
"github.com/anz-bank/sysl-catalog/pkg/watcher"

"github.com/anz-bank/gop/pkg/cli"
"github.com/anz-bank/sysl/pkg/env"
"github.com/anz-bank/sysl/pkg/parse"
"github.com/joshcarp/gop/gop/cli"

"github.com/anz-bank/sysl/pkg/sysl"

"github.com/anz-bank/sysl-catalog/pkg/catalog"
"github.com/anz-bank/sysl-catalog/pkg/watcher"
"github.com/gohugoio/hugo/livereload"
watch "github.com/radovskyb/watcher"
"github.com/sirupsen/logrus"
Expand Down Expand Up @@ -177,5 +176,5 @@ func Retriever(fs afero.Fs) (cli.Retriever, error) {
cache = env.SYSL_CACHE.Value()
proxy = env.SYSL_PROXY.Value()
}
return cli.Moduler(fs, "sysl_modules.yaml", cache, proxy, tokenmap, log.Printf), nil
return cli.Moduler(fs, "sysl_modules.yaml", cache, proxy, tokenmap, "", "", log.Printf), nil
}
11 changes: 3 additions & 8 deletions pkg/catalog/generator.go
Expand Up @@ -10,18 +10,13 @@ import (
"strings"
"text/template"

"github.com/joshcarp/gop/gop"

"github.com/Masterminds/sprig"

"github.com/iancoleman/strcase"

"github.com/anz-bank/gop/pkg/gop"
"github.com/anz-bank/sysl/pkg/sysl"
"github.com/anz-bank/sysl/pkg/syslutil"
"github.com/anz-bank/sysl/pkg/syslwrapper"

"github.com/iancoleman/strcase"
"github.com/sirupsen/logrus"

"github.com/anz-bank/sysl/pkg/sysl"
"github.com/spf13/afero"
)

Expand Down
3 changes: 1 addition & 2 deletions pkg/catalog/openapi.go
Expand Up @@ -4,8 +4,7 @@ import (
"path"
"strings"

"github.com/joshcarp/gop/gop"

"github.com/anz-bank/gop/pkg/gop"
"github.com/anz-bank/pkg/mod"
"github.com/anz-bank/sysl/pkg/sysl"
)
Expand Down

0 comments on commit 724c9c0

Please sign in to comment.