command
module
Version:
v0.0.0-...-032d852
Opens a new window with list of versions in this module.
Published: Jul 7, 2015
License: MIT
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
sqlxgen
Generate SQLx tagged structs from existing database tables
Installation
This package can be installed with the go get command:
go get github.com/kyleconroy/sqlxgen
Usage
$ sqlxgen -pkg=barnes -struct=Book 'dbname=noble' books
package barnes
type Book struct {
Author string `db:"author"`
ISBN string `db:"isbn"`
Price int `db:"price"`
}
Documentation
API documentation can be found here: http://godoc.org/github.com/kyleconroy/sqlxgen
Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.