package
1.0.0
Repository: https://github.com/go-fed/activity.git
Documentation: pkg.go.dev

# Functions

ContextInterface returns a jsonldContexter interface that is needed for ActivityStream types to recursively determine what context strings need to exist in a JSON-LD @context value for linked-data peers to parse.
GenerateConstants generates string constants for the type and property names.
No description provided by the author
NewFunctionalPropertyGenerator is a convenience constructor to create FunctionalPropertyGenerators.
NewIdPropety returns the functional property for the JSON-LD "@id" property.
NewKindForType creates a Kind for an ActivitySteams type.
NewKindForValue creates a Kind for a value type.
NewManagerGenerator creates a new manager system.
NewNonFunctionalPropertyGenerator is a convenience constructor to create NonFunctionalPropertyGenerators.
NewPackageGenerator creates a new PackageGenerator.
NewPackageManager creates a package manager whose private implementation is in an "impl" subdirectory.
NewPropertyPackageGenerator creates a new PropertyPackageGenerator.
Creates a new ResolverGenerator for generating all the methods, functions, errors, interface, and struct types needed for them.
NewTypeGenerator creates a new generator for a specific ActivityStreams Core or extension type.
NewTypePackageGenerator creates a new TypePackageGenerator.
NewTypeProperty returns the non-functional property for the JSON-LD "@type" property.
No description provided by the author
No description provided by the author
No description provided by the author
TypeInterface returns the Type Interface that is needed for ActivityStream types to compile for methods dealing with extending, in the inheritance sense.
No description provided by the author

# Constants

No description provided by the author
No description provided by the author
No description provided by the author

# Structs

FunctionalPropertyGenerator produces Go code for properties that can have only one value.
Identifier determines how a name will appear in documentation and Go code.
Kind is data that describes a concrete Go type, how to serialize and deserialize such types, compare the types, and other meta-information to use during Go code generation.
Generates the ActivityStreamManager that handles the creation of ActivityStream Core, Extended, and any extension types.
NonFunctionalPropertyGenerator produces Go code for properties that can have more than one value.
Package represents a Golang package.
PackageGenerator maanges generating one-time files needed for both type and property implementations.
PackageManager manages the path and names of a package consisting of a public and a private portion.
PropertyGenerator is a common base struct used in both Functional and NonFunctional ActivityStreams properties.
PropertyPackageGenerator manages generating one-time files needed for properties.
ResolverGenerator generates the code required for the TypeResolver and the PredicateTypeResolver.
TypeGenerator represents an ActivityStream type definition to generate in Go.
TypePackageGenerator manages generating one-time files needed for types.

# Interfaces

Property represents a property of an ActivityStreams type.