Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ConfigFileName = "sqlcodegen.yml"
Functions ¶
func FindConfigPath ¶
Types ¶
type Config ¶
type Config struct { Out struct { Package string File string } Tags []string Typemap map[string]string Imports []string }
func LoadConfig ¶
type SqlResultColumn ¶
func AnalyzeSQL ¶
func AnalyzeSQL(sql string, url string) ([]SqlResultColumn, error)
type StringLiteral ¶
func ExtractCommentedStringLiterals ¶
func ExtractCommentedStringLiterals(filePath string, re *regexp.Regexp) ([]StringLiteral, error)
Click to show internal directories.
Click to hide internal directories.