Documentation ¶
Index ¶
- func Fatal(v ...any)
- func Fatalf(format string, v ...any)
- func Print(v ...any) (int, error)
- func PrintJSON(tree mindmap.Node)
- func PrintList(tree mindmap.Node)
- func PrintMarkdown(tree mindmap.Node)
- func PrintObsidianCanvas(tree mindmap.Node)
- func PrintYAML(tree mindmap.Node)
- func Printf(format string, v ...any) (int, error)
- func Println(v ...any) (int, error)
- func TreeToList(data mindmap.Node, markdown bool) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PrintJSON ¶
PrintJSON takes in a map of type string to interface{}, which represents a JSON tree.
func PrintMarkdown ¶
PrintMarkdown output the tree in markdown format using an unsorted list
func PrintObsidianCanvas ¶
func TreeToList ¶
TreeToList takes in a map of type string to interface{} and returns a string that represents a list of the key-value pairs in the map. The map can be nested, and its keys will be sorted alphabetically. The list will have a nested structure that reflects the structure of the map.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.