Discover Packages
gitlab.com/luyang93/The-Go-Programming-Language
ch12
ex02
package
Version:
v0.0.0-...-6fe4f4e
Opens a new window with list of versions in this module.
Published: May 11, 2024
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
README
¶
Exercise 12.2 (P338)
Make display safe to use on cyclic data structure by bounding the number of steps it takes before abandoning the recursion.
(In Section 13.3, we'll see another way to detect cycles.)
Expand ▾
Collapse ▴
Documentation
¶
Package display provides a means to display structured data.
func Display(name string , x interface{})
Source Files
¶
Click to show internal directories.
Click to hide internal directories.