Struct-filling #14
Reference in New Issue
Block a user
Delete Branch "struct-filling"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
FakeStruct fills fake-tagged struct fields as one record: a tag is a path or an inline template, a field's Go type its datatype, range-checked through the value proof, and a pointer takes null. Embedded structs join their struct's record, a named struct field is a record of its own, fake:"-" leaves a struct field unfilled, and a type reaching more than 1024 structs is refused.
IsTemplate moves the path-or-template shape rule from the CLI into the library and refuses a lone reference ({/a.b}) and a leading / naming the path, so the CLI now exits 2 for both. A data name may no longer be -.