This is a service that allows you to share LGTM images featuring Kinako (my beloved dog). By clicking on an image, the corresponding Markdown code is copied, making it easy to use.
- Start the Container
$ make up
- Add Paths
$ nano ~/.zshrc
# golang
export GOPATH=$HOME/go
export PATH=$PATH:$GOPATH/bin
- Reload ~/.zshrc
$ source ~/.zshrc
- Remove Unnecessary Dependencies / Add Required Dependencies
$ go mod tidy
- Verify air and dlv Commands
$ air -v
$ dlv -h
- Install air and dlv if Not Already Installed
$ go install github.com/cosmtrek/air@latest
$ go install github.com/go-delve/delve/cmd/dlv@latest
- Run Migrations
$ make migration
- Start the Application
$ make dev
- Verify Functionality
$ curl http://localhost:8081/api/v1/albums
[{"id":107,"title":"初めてのきなこ","image":"...
- If the Application Fails to Start
$ make down
$ make up
Access to this documentation is restricted. Please contact @Kazuya-Sakamoto to request access. 🙇♂️