Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rensawamo/go-air
https://github.com/rensawamo/go-air
Last synced: 10 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/rensawamo/go-air
- Owner: rensawamo
- Created: 2024-03-23T09:46:17.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-03-27T01:00:02.000Z (8 months ago)
- Last Synced: 2024-03-27T02:22:18.248Z (8 months ago)
- Language: Go
- Size: 5.11 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## insatall
```sh
$ go install github.com/cosmtrek/air@latest
```## PATH を通す
```sh
$ export PATH=$PATH:$(go env GOPATH)/bin
```## Golang Air
https://github.com/cosmtrek/air## サーバの起動
```sh
$ docker compose up
```## request
```sh
$ curl localhost:8080/remon
```## 結論
docker を使っていても ホットリロードで再ビルドとAPIの再起動が行われる