Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

opqrshun/go-clean-architecture-template

Open more actions menu

Repository files navigation

go-clean-architecture-template

  • OpenAPI
  • Gin
  • Unit test
  • Gorm

data model

  • Entity
  • Attribute

docker

docker-compose --env-file .env.docker -p gobackend up -d

migration

mysql -h 127.0.0.1 -P 3338 -u gobackend -pgobackend -D gobackend < schema/base.sql

phpmyadmin
http://localhost:9008/

build

go build ./cmd

test

if local, install godotenv

go get github.com/joho/godotenv/cmd/godotenv

run test

godotenv -f .env.local go test -v ./...

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Morty Proxy This is a proxified and sanitized view of the page, visit original site.