Documentation ¶
Index ¶
Constants ¶
View Source
const ( // DefaultStoreDirectory is the default name of the directory // where the SQLite data will be kept. DefaultStoreDirectory string = "sqlite" // DefaultStoreFileName is the default name of the SQLite3 data file. DefaultStoreFileName string = "sqlite3.db" )
View Source
const ( // DefaultSQLite3FileName is the default name for the SQLite3 // on-disk data file. DefaultSQLite3FileName string = "sqlite3.db" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option func(store *Store)
Option represents the optional function.
func WithStoreDirectory ¶
WithStoreDirectory sets up the directory where the SQLite data will be kept.
func WithStoreFileName ¶
WithStoreFileName sets up the name of the SQLite3 data file.
Click to show internal directories.
Click to hide internal directories.