package
0.0.4
Repository: https://github.com/wubin1989/gen.git
Documentation: pkg.go.dev

# Functions

BuildDIYMethod check the legitimacy of interfaces.
ConvertStructs convert to base structures.
GetQueryStructMeta generate db model by table name.
GetQueryStructMetaFromObject generate base struct from object.
GetStructNames get struct names from base structs.
NewSection create and initialize Sections.
ParseStructRelationShip parse struct's relationship No one should use it directly in project.

# Structs

ElseClause else clause.
ForClause set clause.
ForRange for range clause for diy method.
IfClause if clause.
InterfaceMethod interface's method.
QueryStructMeta struct info in generated code.
Section split sql into chunks.
SetClause set clause.
SQLClause sql condition clause.
TrimClause set clause.
WhereClause where clause.

# Interfaces

Clause a symbol of clause, it can be sql condition clause, if clause, where clause, set clause and else clause.
No description provided by the author
ITableInfo table info interface.