activity/tools
Cory Slep a2a8775265 First pass at @context management.
Needs several improvements:
- private alias member for each type/property
- New constructor function sets this to be code-generated default
- Modify deserialize to also accept an @context alias map to override
  default if needed.
- Add utility function in root package to turn @context into an alias
  map, which will be needed by resolvers.
2019-01-19 15:17:39 +01:00
..
defs Add the missing 'shares' property to vocab.Object 2018-08-21 18:59:18 +02:00
exp First pass at @context management. 2019-01-19 15:17:39 +01:00
streams Add constructors for the streams package. 2018-11-17 16:59:49 +01:00
vocab Add multiply-typed unknown property methods to vocab interfaces. 2018-08-21 22:26:13 +02:00
README.md Update all the READMEs 2018-05-30 23:48:34 +02:00

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.