Skip to content

蜂会 - 会议/活动票务系统

License

Notifications You must be signed in to change notification settings

ZH0217/BeeMeeting

 
 

Repository files navigation

api2go-gorm-gin-crud-example

Build Status

This is a CRUD example using jinzhu/gorm and gin-gonic/gin. This example is a fork of the one in manyminds/api2go.

Examples

Examples can be found here.

Database setup

Before running the server or running tests, copy .envrc.example to .envrc and edit .envrc for your need. Two envrinment variables DB_DIALECT and DB_PARAMS are passed to sql.Open(driverName, datasourceName string) (https://golang.org/pkg/database/sql/#Open).

After editing, run the following command to set environment variables DB_DIALECT and DB_PARAMS.

source .envrc

Tests

source .envrc
go test ./...
ginkgo -r                # Alternative
ginkgo watch -r -notify  # Watch for changes

About

蜂会 - 会议/活动票务系统

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 99.0%
  • Shell 1.0%