Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ZeroSql ¶
type ZeroSql struct {
// contains filtered or unexported fields
}
func (*ZeroSql) LookupQuery ¶
LookupQuery
@Description: query the sql by the name commit
@param name like "create-user"
@Usage
zeroSql, _ := Load(filepath)
zeroSql.LookupQuery("create-user") // default by "name"
if SetTag("tag"), then only return the result of startsWith the match "tag"
func (*ZeroSql) LookupQueryAny ¶
LookupQueryAny
@Usage
zeroSql, _ := Load(filepath)
zeroSql.LookupQueryAny("create-user") // default by any match
func (*ZeroSql) PrintResult ¶
func (d *ZeroSql) PrintResult()
PrintResult
@return print the map result in the console.
Click to show internal directories.
Click to hide internal directories.