Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AnkiNoteInfo ¶
type AnkiNoteInfo struct { gorm.Model TrelloCardId string Title string HtmlContext string ModelName string }
anki笔记实体
type FlashCard ¶
type FlashCard struct { ID string `gorm:"primary_key"` Name string `gorm:"not null";index` Desc string AnkiStatus int // 0 表示待处理 -1 标识放弃不生成anki笔记 1标识生成anki CardType int TrelloCardB postgres.Jsonb `gorm:"type:jsonb;"` TrelloCard trello.Card `gorm:"-"` AnkiNoteInfo AnkiNoteInfo `gorm:FOREIGNKEY:ID;ASSOCIATION_FOREIGNKEY:ID` CreatedAt time.Time UpdatedAt time.Time Closed int }
Click to show internal directories.
Click to hide internal directories.