ent

package
v0.0.0-...-e55081e Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TimeMixin

type TimeMixin struct {
	mixin.Schema
}

TimeMixin implements the ent.Mixin for sharing time fields with package schemas.

func (TimeMixin) Fields

func (TimeMixin) Fields() []ent.Field

type XIDMixin

type XIDMixin struct {
	mixin.Schema
}

XIDMixin Package xid is a globally unique ID generator library that uses the Mongo Object ID algorithm to generate a 12 byte, 20 character ID with no configuration. The xid package comes with database/sql sql.Scanner and driver.Valuer interfaces required by Ent for serialization.

func (XIDMixin) Fields

func (XIDMixin) Fields() []ent.Field

Fields of the XID.

Jump to

Keyboard shortcuts

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