【文件属性】:
文件名称:qor-example:展示QOR SDK的示例应用程序
文件大小:20.1MB
文件格式:ZIP
更新时间:2021-04-12 23:49:26
Go
QOR示例应用程序
这是一个示例应用程序,用于显示和解释功能。
聊天室:
快速入门
转到版本:1.8+
# Get example app
$ go get -u github.com/qor/qor-example
# Setup database
# Or if you prefer postgreSQL see the postgres_env file for its configuration.
$ mysql -uroot -p
mysql > CREATE DATABASE qor_example ;
# Run Application
$ cd $GOPATH /src/github.com/qor/qor-example
$ go run main.go
生成样本数据
$ go run config / db / seeds / main. go config / d