Skip to content

abekzk/todolist-go-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

todolist-go-api

GitHub release (latest by date) GitHub CI

Todoリストアプリ API Go実装

主な利用OSS

使い方

$ go mod download

$ export API_ENV=<develop|production> DSN="<user>:<password>@tcp(<host>:3306)/<dbname>" GOOGLE_APPLICATION_CREDENTIALS="<Path to service-account-file.json>"

$ make run

ディレクトリ構成

.
├── Makefile
├── app # アプリケーションの実装
│   ├── config
│   ├── controller
│   ├── model
│   ├── repository
│   ├── router
│   └── usecase
├── cmd
│   └── todolist
│       └── main.go
├── docs
├── go.mod
├── go.sum
└── test # テストで利用するモック・データ
    ├── mocks
    └── testdata

License

MIT