Documentation
¶
Index ¶
Constants ¶
View Source
const ( // MemoryDSN is the in-memory data source name. MemoryDSN = "sqlite://:memory:" // Migrations is the file path glob for migrations. Migrations = "schema/*.sql" // Scehem is required sqlite scheme Scheme = "sqlite" // DefaultLabel is memory graph default label. DefaultLabel = "SqliteGraph" )
Variables ¶
This section is empty.
Functions ¶
func AttrsFromString ¶
Types ¶
type DB ¶
type DB struct { // Datasource name. DSN string // contains filtered or unexported fields }
type Loader ¶
type Loader struct {
// contains filtered or unexported fields
}
Loader loads graph from sqlite DB.
type NullTime ¶
NullTime represents a helper wrapper for time.Time. It automatically converts time fields to/from RFC 3339 format. Also supports NULL for zero time.
Click to show internal directories.
Click to hide internal directories.