toy-factory

command module
v0.0.0-...-92d3c58 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 2, 2018 License: MIT Imports: 21 Imported by: 0

README

Toy Factory

toyorm generate tool

  • use to sql table to create Model's bind struct
Install
go get -u github.com/bigpigeon/toy-factory
Go version
go-1.10
go-1.9
Example

goto your go project directory

cd $GOPATH/you/project/
toy-factory -name mysql -url "root:@tcp(localhost:3306)/toyorm?charset=utf8&parseTime=True"

and then was generate toy_models.go file in your package

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL