golang webapi demo 源码
Golang的Web API演示 # build images $ docker-compose build # setup db schema $ docker-compose run --rm db_migration goose create AddUsersTable sql $ docker-compose run --rm db_migration goose up $ docker-compose run --rm db_migration goose status # start web server $ docker-compose up go_app # run test $ docker-compose run --rm db_migration goose -env test up $ docker-compose run --rm db_migration goo
文件列表
golang-webapi-demo-main.zip
(预估有个26文件)
golang-webapi-demo-main
.dockerdev
mysql
initdb
create_databases.sql
113B
db_migration
Dockerfile
296B
.dbschema
migrations
20210408145139_AddItemsTable.sql
564B
暂无评论