c4425ee50e
After deliberating on the APIs for properties that can have a single type vs multiple types, I've decided to keep the distinctly separate APIs for the single-type properties. This means humans reading the APIs will use simpler and more reasonable getters/setters, etc. However, by default the two kinds of properties will not be able to satisfy the same interface. If this is needed, in the future we can auto-generate thin-wrapper types around single-type properties that cause them to have a shared API with the multi-type properties. But that won't be tackled for now, as its expected use case is small. |
||
---|---|---|
.. | ||
defs | ||
exp | ||
streams | ||
vocab | ||
README.md |
README.md
tools
Contains the code-generation logic for aspects of this library:
go-fed/activity/tools/defs
contains common utilities and definitions for the Vocabulary.go-fed/activity/tools/vocab
is the tool used to generate the Vocabulary code.go-fed/activity/tools/vocab/gen
is the library that does the heavy lifting of generating the Vocabulary code.go-fed/activity/tools/stream
is the tool used to generate the ActivityStream convenience code.go-fed/activity/toolsstream/gen
is the library that does the heavy lifting of generating the ActivityStream convenience code.
Before you continue further; a fair warning. This code is in severe need of tender love and care.