README ¶ Introduction An easy to use, easy to maintenance template. This template layout reference: https://go.dev/doc/modules/layout Use // install go install golang.org/x/tools/cmd/gonew@latest gonew github.com/liushuangls/go-server-template your.domain/myprog // run cd myprog cp configs/example.yaml configs/local.yaml make install make generate make run Features wire - injects dependencies ent - database orm gin - router viper - config manager and so on... jwt ... Expand ▾ Collapse ▴ Directories ¶ Show internal Expand all Path Synopsis cmd app configs internal cmd crontab data data/schema dto/request dto/response routes routes/common routes/middleware routes/v1 service pkg ecode entutil jwt pager xfile xoauth2 xslog xstrings Click to show internal directories. Click to hide internal directories.