mdl

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cache

type Cache struct {
	Id          int64  `json:"id"`
	Key         string `json:"key"`
	Value       any    `json:"value"`
	ValueString string `json:"valueString"`
	Expiration  int64  `json:"expiration"`
}

type Mdl

type Mdl struct {
	Id        int64          `gorm:"primaryKey;autoIncrement:false" json:"id"`
	CreatedAt time.Time      `gorm:"" json:"createdAt"`
	UpdatedAt time.Time      `gorm:"" json:"updatedAt"`
	DeletedAt gorm.DeletedAt `gorm:"index" json:"-"`
}

func (*Mdl) MarshalBinary

func (m *Mdl) MarshalBinary() ([]byte, error)

func (*Mdl) ToString

func (m *Mdl) ToString() string

func (*Mdl) UnmarshalBinary

func (m *Mdl) UnmarshalBinary(data []byte) error

Jump to

Keyboard shortcuts

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