# Functions
Add appends the provided items to the statement.
Any renders the any identifier.
Append renders the append built-in function.
AppendFunc renders the append built-in function.
Assert renders a period followed by a single item enclosed by parenthesis.
Block renders a statement list enclosed by curly braces.
BlockFunc renders a statement list enclosed by curly braces.
Bool renders the bool identifier.
Break renders the break keyword.
Byte renders the byte identifier.
Call renders a comma separated list enclosed by parenthesis.
CallFunc renders a comma separated list enclosed by parenthesis.
Cap renders the cap built-in function.
Case renders the keyword followed by a comma separated list.
CaseFunc renders the keyword followed by a comma separated list.
Chan renders the chan keyword.
Clear renders the clear built-in function.
Close renders the close built-in function.
Comment adds a comment.
Commentf adds a comment, using a format string and a list of parameters.
Comparable renders the comparable identifier.
Complex renders the complex built-in function.
Complex128 renders the complex128 identifier.
Complex64 renders the complex64 identifier.
Const renders the const keyword.
Continue renders the continue keyword.
Copy renders the copy built-in function.
Custom renders a customized statement list.
CustomFunc renders a customized statement list.
Default renders the default keyword.
Defer renders the defer keyword.
Defs renders a statement list enclosed in parenthesis.
DefsFunc renders a statement list enclosed in parenthesis.
Delete renders the delete built-in function.
DictFunc executes a func(Dict) to generate the value.
Do calls the provided function with the statement as a parameter.
Dot renders a period followed by an identifier.
Else renders the else keyword.
Empty adds an empty item.
Err renders the err identifier.
Error renders the error identifier.
Fallthrough renders the fallthrough keyword.
False renders the false identifier.
Float32 renders the float32 identifier.
Float64 renders the float64 identifier.
For renders the keyword followed by a semicolon separated list.
ForFunc renders the keyword followed by a semicolon separated list.
Func renders the func keyword.
Go renders the go keyword.
Goto renders the goto keyword.
Id renders an identifier.
If renders the keyword followed by a semicolon separated list.
IfFunc renders the keyword followed by a semicolon separated list.
Imag renders the imag built-in function.
Index renders a colon separated list enclosed by square brackets.
IndexFunc renders a colon separated list enclosed by square brackets.
Int renders the int identifier.
Int16 renders the int16 identifier.
Int32 renders the int32 identifier.
Int64 renders the int64 identifier.
Int8 renders the int8 identifier.
Interface renders the keyword followed by a method list enclosed by curly braces.
InterfaceFunc renders the keyword followed by a method list enclosed by curly braces.
Iota renders the iota identifier.
IsReservedWord returns if this is a reserved word in go.
Len renders the len built-in function.
Line inserts a blank line.
List renders a comma separated list.
ListFunc renders a comma separated list.
Lit renders a literal.
LitByte renders a byte literal.
LitByteFunc renders a byte literal.
LitFunc renders a literal.
LitRune renders a rune literal.
LitRuneFunc renders a rune literal.
Make renders the make built-in function.
Map renders the keyword followed by a single item enclosed by square brackets.
Max renders the max built-in function.
MaxFunc renders the max built-in function.
Min renders the min built-in function.
MinFunc renders the min built-in function.
New renders the new built-in function.
NewFile Creates a new file, with the specified package name.
NewFilePath creates a new file while specifying the package path - the package name is inferred from the path.
NewFilePathName creates a new file with the specified package path and name.
Nil renders the nil identifier.
Null adds a null item.
Op renders the provided operator / token.
Panic renders the panic built-in function.
Params renders a comma separated list enclosed by parenthesis.
ParamsFunc renders a comma separated list enclosed by parenthesis.
Parens renders a single item in parenthesis.
Print renders the print built-in function.
PrintFunc renders the print built-in function.
Println renders the println built-in function.
PrintlnFunc renders the println built-in function.
Qual renders a qualified identifier.
Range renders the range keyword.
Real renders the real built-in function.
Recover renders the recover built-in function.
Return renders the keyword followed by a comma separated list.
ReturnFunc renders the keyword followed by a comma separated list.
Rune renders the rune identifier.
Select renders the select keyword.
String renders the string identifier.
Struct renders the keyword followed by a field list enclosed by curly braces.
StructFunc renders the keyword followed by a field list enclosed by curly braces.
Switch renders the keyword followed by a semicolon separated list.
SwitchFunc renders the keyword followed by a semicolon separated list.
Tag renders a struct tag.
True renders the true identifier.
Type renders the type keyword.
Types renders a comma separated list enclosed by square brackets.
TypesFunc renders a comma separated list enclosed by square brackets.
Uint renders the uint identifier.
Uint16 renders the uint16 identifier.
Uint32 renders the uint32 identifier.
Uint64 renders the uint64 identifier.
Uint8 renders the uint8 identifier.
Uintptr renders the uintptr identifier.
Union renders a pipe separated list.
UnionFunc renders a pipe separated list.
Values renders a comma separated list enclosed by curly braces.
ValuesFunc renders a comma separated list enclosed by curly braces.
Var renders the var keyword.
# Interfaces
Code represents an item of code that can be rendered.