- api (gin)
- authorization (jwt-go)
- access control (casbin)
- sql (squirrel & sqlx)
- no sql & cache (go-redis)
- i18n (universal-translator)
- scheduler task (gocron)
- swagger api docs (swag)
- rate limit (limiter)
- config (viper)
- log (zerolog & lumberjack)
- command (cobra)
- rpc server (grpc)
- redis
- mysql
go build
CREATE DATABASE IF NOT EXISTS `cose` DEFAULT CHARACTER SET utf8mb4 DEFAULT COLLATE utf8mb4_general_ci;
including: create tables & create root role & create root user
common_server prepare/init/setup
common_server server/service/api/run
common_server scheduler/task/job
swag init -g cmd/server.go
- add test