example

package
v0.0.0-...-65f6afe Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 7, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SerializeTree

func SerializeTree(tree *Tree) string

Types

type Tree

type Tree struct {
	Left  *Tree
	Right *Tree
	Text  string
}

Tree is a simple type representing a binary tree.

func ParseTree

func ParseTree(source string) (*Tree, error)

func (*Tree) String

func (t *Tree) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL