Support struct tags #5
Labels
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Depends on
#4 Module name is still hopp for some reason
sashakoshka/hopp
Reference: sashakoshka/hopp#5
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
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?
We will be having new functions in TAPE called EncodeAny and DecodeAny (subject to change) which will be able to take in an
any
value and encode it to an encoder or decode it from a decoder. Structs should be supported (when a KTV value is encountered) as long as they have struct tags. Such a struct would look something like this:The tag's value would correspond to the field's table key, and it would be hexadecimal ranging 0000-FFFF, and exactly 4 digits to emphasize that it is not a decimal number.
When this change is implemented, merged, and released, we must add
tape
to this list: https://go.dev/wiki/Well-known-struct-tagsWith a link to the HOPP repository. Maybe we should change the module name before, though.