Skip to content

iOliverNguyen/sqlgen

Repository files navigation

sqlgen

Build Status GoDoc

This package generates SQL methods from model.

Quick Start

  • Clone this repository.
  • Make sure you installed and have go, dep, goimports in your $PATH.
cd $GOPATH/src/github.com/ng-vu/sqlgen
docker-compose up -d
dep ensure
go generate ./examples/sample
go test -v ./examples/sample

See examples for usage.

License