generators

package
v0.0.0-...-96f772b Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2016 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Postgres is the postgres string
	Postgres = "postgres"
	// MySql is the mysql string
	MySql = "mysql"
	// SQLite is the sqlite3 string
	SQLite = "sqlite3"
)

Variables

This section is empty.

Functions

func FormatFunction

func FormatFunction(typeName, functionName, params, retVals string) string

func GenerateMethods

func GenerateMethods(t *models.Table, adapter string) ([]string, error)

func GenerateModels

func GenerateModels(s *models.Schema) (map[string][]byte, error)

func Write

func Write(s *models.Schema, dir string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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