todolist-go-api

module
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 12, 2022 License: MIT

README

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

Directories

Path Synopsis
app
cmd
Package docs GENERATED BY SWAG; DO NOT EDIT This file was generated by swaggo/swag
Package docs GENERATED BY SWAG; DO NOT EDIT This file was generated by swaggo/swag
test

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL