golang / tour

[mirror] A Tour of Go
BSD 3-Clause "New" or "Revised" License
1.53k stars 521 forks source link

tour: should be tree.New(...) #1534

Closed rhdesmond closed 10 months ago

rhdesmond commented 10 months ago

Context: https://go.dev/tour/concurrency/8

Compilation error from generated code: should be tree.New(...) instead of tree.new(...)

mayyaannkk commented 10 months ago

It is tree.New() everywhere. The generated code is not complete, you need to implement it.

rhdesmond commented 10 months ago

Thanks, for some reason I was seeing tree.new(...), maybe I edited it by accident.