├── .gitignore ├── .vscode └── launch.json ├── CONTRIBUTING.md ├── LICENSE ├── README.md ├── cmd ├── help.go ├── new.go ├── root.go ├── util.go └── version.go ├── doc.go ├── examples └── .DS_Store ├── go.mod ├── main.go └── skeleton ├── .gitignore ├── README.md.template ├── app.yaml.template ├── conf ├── app.ini.template ├── app │ └── app.go.template ├── dbconfig.go.template ├── env.go.template └── mongoconfig.go.template ├── dockerfile.template ├── go.mod.template ├── handler ├── handlers └── healthcheck.go.template ├── lib ├── auth │ ├── auth-sql-schema.sql.template │ ├── cache.go.template │ ├── db.go.template │ ├── handler.go.template │ ├── helper.go.template │ ├── model.go.template │ ├── token.go.template │ └── verfier.go.template ├── cache │ ├── helpers.go.template │ ├── params.go.template │ ├── selector.go.template │ └── types.go.template ├── contx │ ├── context.go.template │ ├── form.go.template │ └── login.go.template ├── cors │ └── cors.go.template └── template │ └── map_fucs.go.template ├── locale ├── locale_en-US.ini.template └── locale_pt-BR.ini.template ├── main.go.template ├── model └── models ├── public ├── static.txt └── templates │ └── jade.txt └── repo └── repo /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/novatrixtech/mercurius/HEAD/.gitignore -------------------------------------------------------------------------------- /.vscode/launch.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/novatrixtech/mercurius/HEAD/.vscode/launch.json -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/novatrixtech/mercurius/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/novatrixtech/mercurius/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/novatrixtech/mercurius/HEAD/README.md -------------------------------------------------------------------------------- /cmd/help.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/novatrixtech/mercurius/HEAD/cmd/help.go -------------------------------------------------------------------------------- /cmd/new.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/novatrixtech/mercurius/HEAD/cmd/new.go -------------------------------------------------------------------------------- /cmd/root.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/novatrixtech/mercurius/HEAD/cmd/root.go -------------------------------------------------------------------------------- /cmd/util.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/novatrixtech/mercurius/HEAD/cmd/util.go -------------------------------------------------------------------------------- /cmd/version.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/novatrixtech/mercurius/HEAD/cmd/version.go -------------------------------------------------------------------------------- /doc.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/novatrixtech/mercurius/HEAD/doc.go -------------------------------------------------------------------------------- /examples/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/novatrixtech/mercurius/HEAD/examples/.DS_Store -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/novatrixtech/mercurius/HEAD/go.mod -------------------------------------------------------------------------------- /main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/novatrixtech/mercurius/HEAD/main.go -------------------------------------------------------------------------------- /skeleton/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/novatrixtech/mercurius/HEAD/skeleton/.gitignore -------------------------------------------------------------------------------- /skeleton/README.md.template: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/novatrixtech/mercurius/HEAD/skeleton/README.md.template -------------------------------------------------------------------------------- /skeleton/app.yaml.template: -------------------------------------------------------------------------------- 1 | runtime: go119 -------------------------------------------------------------------------------- /skeleton/conf/app.ini.template: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/novatrixtech/mercurius/HEAD/skeleton/conf/app.ini.template -------------------------------------------------------------------------------- /skeleton/conf/app/app.go.template: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/novatrixtech/mercurius/HEAD/skeleton/conf/app/app.go.template -------------------------------------------------------------------------------- /skeleton/conf/dbconfig.go.template: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/novatrixtech/mercurius/HEAD/skeleton/conf/dbconfig.go.template -------------------------------------------------------------------------------- /skeleton/conf/env.go.template: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/novatrixtech/mercurius/HEAD/skeleton/conf/env.go.template -------------------------------------------------------------------------------- /skeleton/conf/mongoconfig.go.template: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/novatrixtech/mercurius/HEAD/skeleton/conf/mongoconfig.go.template -------------------------------------------------------------------------------- /skeleton/dockerfile.template: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/novatrixtech/mercurius/HEAD/skeleton/dockerfile.template -------------------------------------------------------------------------------- /skeleton/go.mod.template: -------------------------------------------------------------------------------- 1 | module {{.AppPath}} 2 | 3 | go 1.19 4 | -------------------------------------------------------------------------------- /skeleton/handler/handlers: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /skeleton/handler/healthcheck.go.template: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/novatrixtech/mercurius/HEAD/skeleton/handler/healthcheck.go.template -------------------------------------------------------------------------------- /skeleton/lib/auth/auth-sql-schema.sql.template: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/novatrixtech/mercurius/HEAD/skeleton/lib/auth/auth-sql-schema.sql.template -------------------------------------------------------------------------------- /skeleton/lib/auth/cache.go.template: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/novatrixtech/mercurius/HEAD/skeleton/lib/auth/cache.go.template -------------------------------------------------------------------------------- /skeleton/lib/auth/db.go.template: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/novatrixtech/mercurius/HEAD/skeleton/lib/auth/db.go.template -------------------------------------------------------------------------------- /skeleton/lib/auth/handler.go.template: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/novatrixtech/mercurius/HEAD/skeleton/lib/auth/handler.go.template -------------------------------------------------------------------------------- /skeleton/lib/auth/helper.go.template: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/novatrixtech/mercurius/HEAD/skeleton/lib/auth/helper.go.template -------------------------------------------------------------------------------- /skeleton/lib/auth/model.go.template: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/novatrixtech/mercurius/HEAD/skeleton/lib/auth/model.go.template -------------------------------------------------------------------------------- /skeleton/lib/auth/token.go.template: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/novatrixtech/mercurius/HEAD/skeleton/lib/auth/token.go.template -------------------------------------------------------------------------------- /skeleton/lib/auth/verfier.go.template: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/novatrixtech/mercurius/HEAD/skeleton/lib/auth/verfier.go.template -------------------------------------------------------------------------------- /skeleton/lib/cache/helpers.go.template: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/novatrixtech/mercurius/HEAD/skeleton/lib/cache/helpers.go.template -------------------------------------------------------------------------------- /skeleton/lib/cache/params.go.template: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/novatrixtech/mercurius/HEAD/skeleton/lib/cache/params.go.template -------------------------------------------------------------------------------- /skeleton/lib/cache/selector.go.template: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/novatrixtech/mercurius/HEAD/skeleton/lib/cache/selector.go.template -------------------------------------------------------------------------------- /skeleton/lib/cache/types.go.template: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/novatrixtech/mercurius/HEAD/skeleton/lib/cache/types.go.template -------------------------------------------------------------------------------- /skeleton/lib/contx/context.go.template: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/novatrixtech/mercurius/HEAD/skeleton/lib/contx/context.go.template -------------------------------------------------------------------------------- /skeleton/lib/contx/form.go.template: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/novatrixtech/mercurius/HEAD/skeleton/lib/contx/form.go.template -------------------------------------------------------------------------------- /skeleton/lib/contx/login.go.template: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/novatrixtech/mercurius/HEAD/skeleton/lib/contx/login.go.template -------------------------------------------------------------------------------- /skeleton/lib/cors/cors.go.template: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/novatrixtech/mercurius/HEAD/skeleton/lib/cors/cors.go.template -------------------------------------------------------------------------------- /skeleton/lib/template/map_fucs.go.template: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/novatrixtech/mercurius/HEAD/skeleton/lib/template/map_fucs.go.template -------------------------------------------------------------------------------- /skeleton/locale/locale_en-US.ini.template: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /skeleton/locale/locale_pt-BR.ini.template: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /skeleton/main.go.template: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/novatrixtech/mercurius/HEAD/skeleton/main.go.template -------------------------------------------------------------------------------- /skeleton/model/models: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /skeleton/public/static.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /skeleton/public/templates/jade.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /skeleton/repo/repo: -------------------------------------------------------------------------------- 1 | --------------------------------------------------------------------------------