modules

package
v0.0.0-...-c78e9a6 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2026 License: LGPL-2.1 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Auditable

type Auditable interface {
	SetCreatedUtcNow()
	SetUpdatedUtcNow()
}

type Copiable

type Copiable interface {
	CopyTo(destPtr any)
	CopyFrom(sourcePtr any) any
}

type DomainModel

type DomainModel interface {
	PrimaryKey() ValueObject
	Clone() any
	Validate(forEdit bool) error
}

type DynamicModule

type DynamicModule interface {
	Deps() []string
	// LabelKey is the translation key.
	LabelKey() string
	Name() string
	Init() error
	RegisterModels() error
	Version() semver.SemVer
}

type InCodeModule

type InCodeModule interface {
	Deps() []string
	// LabelKey is the translation key.
	LabelKey() string
	Name() string
	Init() error
	Version() semver.SemVer
}

type InCodeModuleAppStarted

type InCodeModuleAppStarted interface {
	OnAppStarted() error
}

type JSON

type JSON map[string]any

type SoftDeletable

type SoftDeletable interface {
	SetDeletedUtcNow()
}

type ValueObject

type ValueObject interface {
	// Value() (any, error)
	Json() any
	String() string
}

Directories

Path Synopsis
app
app
app
tag
app
app
infra/ent/schema
ent/schema/hierarchylevel.go
ent/schema/hierarchylevel.go

Jump to

Keyboard shortcuts

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