echo server sandbox using ORM mapper and html template.
- github.com/labstack/echo
- github.com/jinzhu/gorm
- github.com/pilu/fresh
- github actions
$ brew install goenv
$ goenv install 1.13.x
$ goenv global 1.13.x
$ goenv rehash
$ make dep
$ brew install golangci/tap/golangci-lint
$ brew upgrade golangci/tap/golangci-lint
$ golangci-lint run
note: cp config.yaml.example config.yaml
update database config
app: local
port: :8080
database:
name: <database name>
name: <user name>
password: <user passWord>
$ go run ./migrate/migrate.go
$ fresh
$ curl http://localhost:8080/user \
-X POST \
-H "Content-Type: application/json" \
-d '{"Name": "userName","Age": 1}'
$ go test ./...