07-builders-nested

command
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2025 License: GPL-3.0 Imports: 5 Imported by: 0

README

Nested Builder

This example demonstrates how to transform custom nested organizational data types into tree nodes using the nested builder. It walks you through converting your existing hierarchical data structures (like departments with sub-departments) into renderable trees, applying conditional expansion to control which nodes start open, and using custom presentation providers instead of building off the default provider. This is ideal when you already have nested data and just want to visualize it.

Running the Example

go run main.go

Demo

The Demo

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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