genschema

package
v0.0.0-...-fad6b96 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const FileHeader = `` /* 221-byte string literal not displayed */

Variables

This section is empty.

Functions

func FileFor

func FileFor(dir, tableName string) (*os.File, error)

FileFor will return a file handle with the header written already, it will the responsibility of the caller to close the file, if there isn't an error

func FilenameFor

func FilenameFor(dir, tableName string) string

func WriteReadME

func WriteReadME(dir string, tableNames []string, descriptorMap map[string]map[string]bool) error

func WriteTableSQL

func WriteTableSQL(file *os.File, tableSQL string) (err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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