b5409c7332
* Organized files better * More comments
21 lines
402 B
Go
21 lines
402 B
Go
/*
|
|
SQLBoiler is a tool to generate Go boilerplate code for database interactions.
|
|
So far this includes struct definitions and database statement helper functions.
|
|
*/
|
|
|
|
package main
|
|
|
|
import (
|
|
"fmt"
|
|
"os"
|
|
|
|
"github.com/pobri19/sqlboiler/cmds"
|
|
)
|
|
|
|
func main() {
|
|
// Execute SQLBoiler
|
|
if err := cmds.SQLBoiler.Execute(); err != nil {
|
|
fmt.Printf("Failed to execute SQLBoiler: %s", err)
|
|
os.Exit(-1)
|
|
}
|
|
}
|