schema

package
v0.0.0-...-cbae595 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2021 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BigIntSchemaType = map[string]string{
	dialect.Postgres: "numeric",
}

Functions

This section is empty.

Types

type BigInt

type BigInt struct {
	*big.Int
}

func NewBigInt

func NewBigInt(i int64) BigInt

func (BigInt) Add

func (b BigInt) Add(c BigInt) BigInt

func (BigInt) MarshalGQL

func (b BigInt) MarshalGQL(w io.Writer)

func (BigInt) MarshalJSON

func (b BigInt) MarshalJSON() ([]byte, error)

func (*BigInt) Scan

func (b *BigInt) Scan(src interface{}) error

func (*BigInt) UnmarshalGQL

func (b *BigInt) UnmarshalGQL(v interface{}) error

func (*BigInt) UnmarshalJSON

func (b *BigInt) UnmarshalJSON(p []byte) error

func (BigInt) Value

func (b BigInt) Value() (driver.Value, error)

type Turn

type Turn struct {
	ent.Schema
}

Turn holds the schema definition for the Turn entity.

func (Turn) Edges

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

Edges of the Turn.

func (Turn) Fields

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

Fields of the Turn.

Jump to

Keyboard shortcuts

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