package
0.0.0-20241115082555-91616abce05b
Repository: https://github.com/tencentcodedog/linux-go-1.12.6.git
Documentation: pkg.go.dev

# Functions

Compare reads values from two Walkers that run simultaneously, and returns true if t1 and t2 have the same contents.
Copy the values from channel 'in' to channel 'out', removing those divisible by 'prime'.
Send the sequence 2, 3, 4, ..
New returns a new, random binary tree holding the values 1k, 2k, ..., nk.
NewField returns an empty field of the specified width and height.
NewLife returns a new Life game state with a random initial state.
Walk traverses a tree depth-first, sending each Value on a channel.
Walker launches Walk in a new goroutine, and returns a read-only channel of values.

# Constants

length of a row (+1 for \n).

# Structs

Field represents a two-dimensional field of cells.
Life stores the state of a round of Conway's Game of Life.
A Tree is a binary tree with integer values.