Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Alias ¶
type AliasValue ¶
type AliasValue struct { Kind string Value interface{} }
type Registry ¶
type Registry struct { Name string `pg:",pk"` Aliases []Alias `pg:"rel:has-many"` AllowedTenants []string `pg:",array"` CreatedAt time.Time `pg:"default:now()"` UpdatedAt time.Time `pg:"default:now()"` // contains filtered or unexported fields }
func NewRegistry ¶
func NewRegistry(registry *entities.AliasRegistry) *Registry
func (*Registry) ToEntity ¶
func (r *Registry) ToEntity() *entities.AliasRegistry
Click to show internal directories.
Click to hide internal directories.