• Eric Myhre's avatar
    Add Kind and Keys methods to Node. · 5c32434e
    Eric Myhre authored
    And ReprKind moves from the typed package to the ipld main package.
    It's hard to get too much done without the standardization of ReprKind.
    
    Between the Kind() and Keys() methods, it should now be possible to
    perform traversals of unknown nodes.
    
    This diff just worries about implementing all the Kind() methods.
    Keys() has some additional questions to handle (namely, map ordering?).
    Signed-off-by: default avatarEric Myhre <hash@exultant.us>
    5c32434e
kind.go 680 Bytes