This is an attempt to generate a bootstrap file which can be used as a base for ORM.
This app can be handy when we have a legacy application and wants to use ORM or when we have a data first, this will pull out its schema in golang Struct
Gorm
This is a terminal based utility which accept mysql username, password, database & file name to generate a Struct.
./we_for_golang -u <USERNAME> -p <PASSWORD> -d <DATABASE> -f ~/workspace/my_project_schema.go
Download the latest stable Go distribution(go1.5.3) from the golang site and follow the instruction mentioned.
https://golang.org/doc/install
https://golang.org/dl/
Open terminal at application directory, execute "go build" command. This will build entire application. More instruction can be found at
https://golang.org/cmd/go/