requirentment
- golang 1.15
- gcc
- make
- Config configuration
- Run
cp .env.example .env
- Edit
.env
file
- Run
- Generate executable program
- Run
make clean all
- Run
- Execute program
- Run
./app
- Run
.github\
workflows\
: github action job descriptions
docker\
: docker image descriptionsdocs\
: api documentsfactories\
: fake entitiesGithooksExample\
: git hook scriptsmocks\
: mock interfacessrc\
: main application componentstests\
: application tests.editorconfig
: editor configuration.env.example
: env example.gitignore
: git ignore rulesdocker-compose.yml
: docker containers descriptiongo.mod
: application used modulesgo.sum
: dependent modules of application used modulesmain.go
: application entrypointMakefile
: make scriptreadme.md
: application documents
controllers
: services providerentities
: application entitieshandlers
: handle servicesmanagers
: other applications connectormiddlewares
: features before/after controllers executionrepositories
: data operationsroutes
: application routesservices
: application featuresutilities
: helpful tools
- Run
docker-compose up -d
- Run
docker-compose exec application /bin/sh
- Run
make clena all
- Run
./app
- Run
go test ./tests/... -v
- Run
go mod tidy
- Run
swag init