entmodel

package
v0.0.0-...-aca7f8d Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2021 License: MPL-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Annotation

type Annotation struct {
	SkipCreate bool
}

func DecodeAnnotation

func DecodeAnnotation(annotation interface{}) (Annotation, error)

Decode unmarshal annotation

func SkipCreate

func SkipCreate() Annotation

func (Annotation) Name

func (Annotation) Name() string

type Extension

type Extension struct {
	entc.DefaultExtension
}

func NewExtension

func NewExtension() *Extension

func (*Extension) Templates

func (e *Extension) Templates() []*gen.Template

Templates of the extension.

Jump to

Keyboard shortcuts

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