package
0.0.0-20221211063759-605448222ea4
Repository: https://github.com/finishy1995/codegenerator.git
Documentation: pkg.go.dev
# Functions
GetArgsKeyValuePair format "a=1".
GetArgsMap format "a=1,b=s,c=1...".
No description provided by the author
No description provided by the author
No description provided by the author
MergeArgs merge several args to a string ["a", " ", "=", " ", "1"] => "a=1".
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Constants
No description provided by the author
No description provided by the author
# Structs
Define key-value pair in temp dict, will overwrite key-value pair if exist already.
Else using in if block, jump to another situation.
EndFile end file output.
EndIf end if block.
EndLoop end loop block and generate again.
GetKey get key using index.
If
Example:
.a undefined || "" .b = false .c = 1 .d = true #{If} == #{If false} == #{If .a} == #{If #{.b}} => false #{If true} == #{If .b} == #{If .c} == #{If .d} == #{If #{.d}} => true.
Insert another file into the following line.
No description provided by the author
Loop exec the following lines
Example: Loop 3 index=param.i.
StartFile start file output.
# Type aliases
No description provided by the author
No description provided by the author