Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func VersionHook

func VersionHook() ent.Hook

Types

type Card

type Card struct {
	ent.Schema
}

    Card holds the schema definition for the CreditCard entity.

    func (Card) Edges

    func (Card) Edges() []ent.Edge

    func (Card) Fields

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

    func (Card) Hooks

    func (Card) Hooks() []ent.Hook

    func (Card) Mixin

    func (Card) Mixin() []ent.Mixin

    type RejectUpdate

    type RejectUpdate struct {
    	mixin.Schema
    }

      RejectMany rejects all update operations that are not on a specific entity.

      func (RejectUpdate) Hooks

      func (RejectUpdate) Hooks() []ent.Hook

      type User

      type User struct {
      	ent.Schema
      }

        User holds the schema definition for the User entity.

        func (User) Edges

        func (User) Edges() []ent.Edge

          Edges of the User.

          func (User) Fields

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

            Fields of the User.

            func (User) Mixin

            func (User) Mixin() []ent.Mixin

              Mixin of the User.

              type VersionMixin

              type VersionMixin struct {
              	mixin.Schema
              }

              func (VersionMixin) Fields

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

              func (VersionMixin) Hooks

              func (VersionMixin) Hooks() []ent.Hook

              Source Files