Documentation ¶
Index ¶
- type Sqlite
- func (s *Sqlite) CreateSettingTable() (err error)
- func (s *Sqlite) CreateWordTable() (err error)
- func (s *Sqlite) DeleteWordTable(id int) error
- func (s *Sqlite) InsertWordTable(w *model.Dictinary) (err error)
- func (s *Sqlite) ListWordTable() ([][]string, error)
- func (s *Sqlite) SelectSettingsTable() (*model.Settings, error)
- func (s *Sqlite) SelectWordTable(number int) (map[int]map[string]string, error)
- func (s *Sqlite) UpdateSettingsTable(settings *model.Settings) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Sqlite ¶
func NewConnection ¶
func (*Sqlite) CreateSettingTable ¶
func (*Sqlite) CreateWordTable ¶
func (*Sqlite) DeleteWordTable ¶
func (*Sqlite) ListWordTable ¶
func (*Sqlite) SelectSettingsTable ¶
func (*Sqlite) SelectWordTable ¶
Click to show internal directories.
Click to hide internal directories.