event

package
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 10, 2019 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EventIdentifier added in v1.1.0

func EventIdentifier(s model.Struct) string

func FieldIdentifier added in v1.1.0

func FieldIdentifier(f model.Field) string

func GetAggregateName

func GetAggregateName(s model.Struct) string

func GetAggregateNameLowerCase

func GetAggregateNameLowerCase(s model.Struct) string

func GetEvents

func GetEvents(thecontext structures) []model.Struct

func IsBool added in v1.1.0

func IsBool(f model.Field) bool

func IsCustom added in v1.1.0

func IsCustom(f model.Field) bool

func IsCustomSensitiveField added in v1.1.0

func IsCustomSensitiveField(f model.Field) bool

func IsDate added in v1.1.0

func IsDate(f model.Field) bool

func IsDeepSensitiveField added in v1.1.0

func IsDeepSensitiveField(f model.Field) bool

func IsEvent

func IsEvent(s model.Struct) bool

func IsEventPart added in v1.1.0

func IsEventPart(s model.Struct) bool

func IsInt added in v1.1.0

func IsInt(f model.Field) bool

func IsPersistentEvent

func IsPersistentEvent(s model.Struct) bool

func IsPointer added in v1.1.0

func IsPointer(f model.Field) bool

func IsPrimitive added in v1.1.0

func IsPrimitive(f model.Field) bool

func IsRootEvent

func IsRootEvent(s model.Struct) bool

func IsSensitiveEvent added in v1.1.0

func IsSensitiveEvent(s model.Struct) bool

func IsSensitiveEventOrEventPart added in v1.1.0

func IsSensitiveEventOrEventPart(s model.Struct) bool

func IsSensitiveEventPart added in v1.1.0

func IsSensitiveEventPart(s model.Struct) bool

func IsSensitiveField added in v1.1.0

func IsSensitiveField(f model.Field) bool

func IsSlice added in v1.1.0

func IsSlice(f model.Field) bool

func IsString added in v1.1.0

func IsString(f model.Field) bool

func IsStringSlice added in v1.1.0

func IsStringSlice(f model.Field) bool

func IsTransientEvent

func IsTransientEvent(s model.Struct) bool

func NewGenerator

func NewGenerator() generator.Generator

func SliceFieldIdentifier added in v1.1.0

func SliceFieldIdentifier(f model.Field) string

Types

type Generator

type Generator struct {
}

func (*Generator) Generate

func (eg *Generator) Generate(inputDir string, parsedSource model.ParsedSources) error

func (*Generator) GetAnnotations

func (eg *Generator) GetAnnotations() []annotation.AnnotationDescriptor

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL