Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var NodeTypeToType = map[string]string{ node.FloatType: "float64", node.StringType: "string", node.BoolType: "bool", node.ListType: "[]interface{}", node.StructType: "struct", }
Functions ¶
func ExtractListType ¶
func ExtractListType(n node.Node, childrenTypeName []string, extractCodeMap map[string]common.ExtractCode) string
ExtractListType get list type-name and extract common type
func ExtractStructType ¶
func ExtractStructType(n node.Node, childrenTypeMap map[string]string, extractCodeMap map[string]common.ExtractCode) (typeName string)
ExtractStructType get struct type-name and extract common type
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.