github.com/ipld/go-ipld-prime@v0.21.0/datamodel/doc.go (about) 1 // The datamodel package defines the most essential interfaces for describing IPLD Data -- 2 // such as Node, NodePrototype, NodeBuilder, Link, and Path. 3 // 4 // Note that since interfaces in this package are the core of the library, 5 // choices made here maximize correctness and performance -- these choices 6 // are *not* always the choices that would maximize ergonomics. 7 // (Ergonomics can come on top; performance generally can't.) 8 // You'll want to check out other packages for functions with more ergonomics; 9 // for example, 'fluent' and its subpackages provide lots of ways to work with data; 10 // 'traversal' provides some ergonomic features for walking around data graphs; 11 // any use of schemas will provide a bunch of useful data validation options; 12 // or you can make your own function decorators that do what *you* need. 13 package datamodel