diff --git a/examples/out/model_version_adapted.go b/examples/out/model_version_adapted.go index 9efabdc..ba7f4dd 100644 --- a/examples/out/model_version_adapted.go +++ b/examples/out/model_version_adapted.go @@ -1,8 +1,5 @@ package dto -import ( - "encoding/json" -) type Version struct { // date-time the app has been compiled. BuildDate string `json:"buildDate" validate:"required"` diff --git a/makefile b/makefile index d6caa60..e03682f 100644 --- a/makefile +++ b/makefile @@ -1,5 +1,5 @@ example: - go run main.go ./examples/in/ ./examples/out/ + go run ./src/main.go ./examples/in/ ./examples/out/ example_container: docker run --pull always --rm -v "${PWD}/examples:/examples" gitea.linuxcode.net/linuxcode/oapi-type-definitions-extractor:latest /examples/in /examples/out diff --git a/src/.golangci.yml b/src/.golangci.yml index a6242af..d1cbd6a 100644 --- a/src/.golangci.yml +++ b/src/.golangci.yml @@ -14,7 +14,7 @@ issues: linters-settings: stylecheck: - checks: ["all", "-ST1003"] + checks: ["all"] linters: disable-all: true