models

package
v0.0.0-...-0616b42 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TableName = "email_journal"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type LogModel

type LogModel struct {
	ID    string `gorm:"primary_key;column:id;type:TEXT" json:"id"`
	Email string `gorm:"column:email;type:TEXT" json:"email"`

	IsSended  bool        `gorm:"column:isSended;type:bool" json:"isSended"`
	ErrReason null.String `gorm:"column:errReson;type:TEXT" json:"errReason"`

	CreatedAt time.Time `gorm:"column:createdAt;type:timestamp" json:"createdAt"`
}

func (*LogModel) TableName

func (l *LogModel) TableName() string

Jump to

Keyboard shortcuts

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