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

# Functions

FormatPackageDocumentation is used to format package-level comments.
NewCommentedFunction creates a new function with a comment.
NewCommentedPointerMethod defines a commented method for the pointer to a type.
NewCommentedValueMethod defines a commented method for the value of a type.
NewFunction creates a new function without any comments.
NewInterface creates an Interface.
NewPointerMethod defines a method for the pointer to a type.
NewStruct creates a new commented Struct type.
NewTypedef creates a new commented Typedef.
NewValueMethod defines a method for the value of a type.
This returns the string variable used by members to refer to themselves.

# Structs

Function represents a free function, not a method, for Go code to be generated.
FunctionSignature is an interface's function definition without an implementation.
Interface manages and generates a Golang interface definition.
Method represents a method on a type, not a free function, for Go code to be generated.
Struct defines a struct-based type, its functions, and its methods for Go code generation.
Typedef defines a non-struct-based type, its functions, and its methods for Go code generation.