• Steven Allen's avatar
    add component/foreach helpers · 58bcbc8e
    Steven Allen authored
    This adds a `Component` helper type and a `ForEach` helper method.
    
    The first attempt used an interface but interfaces imply allocation. We really
    can't afford to allocate here.
    58bcbc8e
component.go 3.05 KB