Skip to content

Commit

Permalink
Bump sysl version and make tidy (#77)
Browse files Browse the repository at this point in the history
  • Loading branch information
orlade-anz committed Oct 28, 2020
1 parent 2781a8c commit 15593f0
Show file tree
Hide file tree
Showing 8 changed files with 21 additions and 24 deletions.
4 changes: 2 additions & 2 deletions Makefile
Expand Up @@ -5,9 +5,9 @@ install:
lint:
golangci-lint run ./...
tidy:
go mod tidy
gofmt -s -w .
goimports -w .
gofmt -s -w .
go mod tidy
coverage:
go test -coverprofile=coverage.txt -covermode=atomic ./... && go tool cover -func=coverage.txt
test:
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Expand Up @@ -9,7 +9,7 @@ require (
github.com/alecthomas/assert v0.0.0-20170929043011-405dbfeb8e38
github.com/anz-bank/pkg v0.0.25
github.com/anz-bank/protoc-gen-sysl v0.0.17
github.com/anz-bank/sysl v0.247.0
github.com/anz-bank/sysl v0.258.0
github.com/getkin/kin-openapi v0.18.0 // indirect
github.com/ghodss/yaml v1.0.0
github.com/gohugoio/hugo v0.74.1
Expand Down
14 changes: 3 additions & 11 deletions go.sum

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

3 changes: 2 additions & 1 deletion pkg/catalog/create_diagram_test.go
@@ -1,9 +1,10 @@
package catalog

import (
"testing"

"github.com/anz-bank/sysl/pkg/sysl"
"github.com/stretchr/testify/require"
"testing"

"github.com/anz-bank/sysl/pkg/loader"
"github.com/anz-bank/sysl/pkg/parse"
Expand Down
9 changes: 5 additions & 4 deletions pkg/catalog/create_markdown.go
Expand Up @@ -2,15 +2,16 @@ package catalog

import (
"bytes"
"github.com/pkg/errors"
"github.com/yuin/goldmark"
"github.com/yuin/goldmark/extension"
"github.com/yuin/goldmark/renderer/html"
"os"
"path"
"regexp"
"strings"
"text/template"

"github.com/pkg/errors"
"github.com/yuin/goldmark"
"github.com/yuin/goldmark/extension"
"github.com/yuin/goldmark/renderer/html"
)

var (
Expand Down
3 changes: 2 additions & 1 deletion pkg/catalog/create_plantuml.go
Expand Up @@ -2,12 +2,13 @@ package catalog

import (
"fmt"
"os"

"github.com/anz-bank/sysl-catalog/pkg/catalogdiagrams"
"github.com/anz-bank/sysl/pkg/cmdutils"
"github.com/anz-bank/sysl/pkg/diagrams"
"github.com/anz-bank/sysl/pkg/integrationdiagram"
"github.com/anz-bank/sysl/pkg/sysl"
"os"
)

// IntegrationPlantuml creates an integration diagram and returns the plantuml string
Expand Down
3 changes: 2 additions & 1 deletion pkg/catalog/openapi.go
@@ -1,10 +1,11 @@
package catalog

import (
"github.com/joshcarp/gop/gop"
"path"
"strings"

"github.com/joshcarp/gop/gop"

"github.com/anz-bank/pkg/mod"
"github.com/anz-bank/sysl/pkg/sysl"
)
Expand Down
7 changes: 4 additions & 3 deletions pkg/catalog/server.go
Expand Up @@ -4,14 +4,15 @@ package catalog
import (
"encoding/base64"
"fmt"
"github.com/anz-bank/sysl/pkg/sysl"
"github.com/anz-bank/sysl/pkg/syslwrapper"
"github.com/spf13/afero"
"html"
"net/http"
"net/url"
"path"
"strings"

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

// Update loads another Sysl module into a project and runs
Expand Down

0 comments on commit 15593f0

Please sign in to comment.