gen_app

package
v0.0.0-...-82560b4 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2020 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	StorageRWIdent = "rw"
	StorageRIdent  = "r"
	PolicerIdent   = "p"
)

Variables

This section is empty.

Functions

func Gen

func Gen(sourceTypeName string, useFactStorage bool, conf *Config) error

Types

type Config

type Config struct {
	Adapters generator.Adapters
	Errors   generator.Errors
	Objects  generator.Objects
}

func NewConfig

func NewConfig(
	entity,
	domain,
	authorizationErrorNew,
	targetIdentificationErrorNew,
	storageLoadingErrorNew,
	storageSavingErrorNew,
	domainErrorNew string,
) (*Config, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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