Categorygithub.com/ttaki/go-clean-architecture-template

# README

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 ./...

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author