Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AsCode ¶
func AsCode(v interface{}) string
AsCode takes the output of Render and converts to go code that can be re-used without modification. For example: main.example{Field1:(&render.innerStruct)(nil), Field2:(*main.InnerField){Field1:"world"}} becomes main.example{Field1: &render.innerStruct{}, Field2: &main.InnerField{Field1:"World"}}
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.