- set conf/conf.yaml
- go generate ./models/ent
- go run cli.go (Generate migration file)
- go run cli.go -w=true (Migration files to database)
- air -c conf/.air.toml
curl --location --request POST 'http://localhost:8080/api/login' \
--header 'Content-Type: application/json' \
--data-raw '{"username":"admin", "password":"123456"}'