Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertToString ¶
ConvertToString convert struct to string
func ConvertToStringWithTitle ¶
func ConvertToStringWithTitle(in interface{}, title string, tagType ...string) (s string, err error)
ConvertToStringWithTitle convert struct to string with given title
func WriteToBuffer ¶
WriteToBuffer loops each member of given input struct recursively, converts member variable names and concerning values to "key = value" string, and then write the string into buffer, if tag type is specified, which is optional, "key" will be replaced by the tag name
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.