Documentation ¶ Index ¶ func New0001Migration(dataDir string) *migration0001 func New0002Migration(dataDir string) *migration0002 type Database func InMemory(opts ...sql.Opt) *Database func Open(uri string, opts ...sql.Opt) (*Database, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func New0001Migration ¶ func New0001Migration(dataDir string) *migration0001 func New0002Migration ¶ func New0002Migration(dataDir string) *migration0002 Types ¶ type Database ¶ type Database struct { *sql.Database } func InMemory ¶ func InMemory(opts ...sql.Opt) *Database func Open ¶ func Open(uri string, opts ...sql.Opt) (*Database, error) Source Files ¶ View all Source files 0001_migration.go 0002_migration.go local.go nipost_state.go Directories ¶ Show internal Expand all Path Synopsis nipost Click to show internal directories. Click to hide internal directories.