-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* build: update `go` directive in `go.mod` to 1.17 This commit enables support for module graph pruning and lazy module loading for projects that are at Go 1.17 or higher. Reference: https://go.dev/ref/mod#go-mod-file-go Reference: https://go.dev/ref/mod#graph-pruning Reference: https://go.dev/ref/mod#lazy-loading Signed-off-by: Eng Zer Jun <engzerjun@gmail.com> * build: update Dockerfile to Go 1.17 Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
- Loading branch information
Showing
9 changed files
with
126 additions
and
95 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,25 @@ | ||
module github.com/swaggo/swag/example/go-module-support | ||
|
||
go 1.12 | ||
go 1.17 | ||
|
||
require ( | ||
github.com/gin-gonic/gin v1.7.7 | ||
github.com/swaggo/examples v0.0.0-20190624090508-a983dcc3c013 | ||
) | ||
|
||
require ( | ||
github.com/gin-contrib/sse v0.1.0 // indirect | ||
github.com/go-playground/locales v0.13.0 // indirect | ||
github.com/go-playground/universal-translator v0.17.0 // indirect | ||
github.com/go-playground/validator/v10 v10.4.1 // indirect | ||
github.com/golang/protobuf v1.3.3 // indirect | ||
github.com/json-iterator/go v1.1.9 // indirect | ||
github.com/leodido/go-urn v1.2.0 // indirect | ||
github.com/mattn/go-isatty v0.0.12 // indirect | ||
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect | ||
github.com/modern-go/reflect2 v1.0.1 // indirect | ||
github.com/swaggo/examples v0.0.0-20190624090508-a983dcc3c013 | ||
github.com/ugorji/go/codec v1.1.7 // indirect | ||
golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 // indirect | ||
golang.org/x/sys v0.0.0-20210423082822-04245dca01da // indirect | ||
gopkg.in/yaml.v2 v2.2.8 // indirect | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,26 @@ | ||
module github.com/swaggo/swag/example/markdown | ||
|
||
go 1.12 | ||
go 1.17 | ||
|
||
require ( | ||
github.com/go-chi/chi v1.5.4 // indirect | ||
github.com/gorilla/mux v1.7.3 | ||
github.com/pkg/errors v0.8.1 // indirect | ||
github.com/swaggo/files v0.0.0-20210815190702-a29dd2bc99b2 // indirect | ||
github.com/swaggo/http-swagger v1.1.2 | ||
github.com/swaggo/swag v1.7.0 | ||
github.com/urfave/cli v1.20.0 // indirect | ||
) | ||
|
||
require ( | ||
github.com/KyleBanks/depth v1.2.1 // indirect | ||
github.com/PuerkitoBio/purell v1.1.1 // indirect | ||
github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578 // indirect | ||
github.com/go-openapi/jsonpointer v0.19.5 // indirect | ||
github.com/go-openapi/jsonreference v0.19.5 // indirect | ||
github.com/go-openapi/spec v0.20.0 // indirect | ||
github.com/go-openapi/swag v0.19.12 // indirect | ||
github.com/josharian/intern v1.0.0 // indirect | ||
github.com/mailru/easyjson v0.7.6 // indirect | ||
github.com/swaggo/files v0.0.0-20210815190702-a29dd2bc99b2 // indirect | ||
golang.org/x/net v0.0.0-20210805182204-aaa1db679c0d // indirect | ||
golang.org/x/text v0.3.6 // indirect | ||
golang.org/x/tools v0.0.0-20201208062317-e652b2f42cc7 // indirect | ||
gopkg.in/yaml.v2 v2.4.0 // indirect | ||
) |
Oops, something went wrong.