model

package
v0.0.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Word

type Word struct {
	Id        int              `json:"id"`
	Name      string           `json:"name" gorm:"column:source"`
	Exposures int              `json:"exposures"`
	Mastered  bool             `json:"mastered"`
	RawJSON   string           `json:"raw_json"`
	RawObject relingo.DictItem `json:"raw_object" gorm:"-"`
	EngraData model.Vocabulary `json:"engra_data" gorm:"-"`
	CreatedAt time.Time        `json:"created_at"`
	UpdatedAt time.Time        `json:"updated_at"`
	DeletedAt time.Time        `json:"deleted_at"`
}

func (*Word) ParseRawJSON

func (w *Word) ParseRawJSON() relingo.DictItem

Jump to

Keyboard shortcuts

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