Documentation ¶
Index ¶
Constants ¶
View Source
const ( CreateFileTable = ` CREATE TABLE Files ( FileID SERIAL PRIMARY KEY, FileName TEXT, FileURL TEXT, PreviewURL TEXT ); ` CreateTagTable = ` CREATE TABLE Tags ( TagID SERIAL PRIMARY KEY, Name TEXT, Description TEXT ); ` CreateLibraryTable = `` /* 243-byte string literal not displayed */ QueryLibraryExists = ` SELECT EXISTS ( SELECT 1 FROM information_schema.tables WHERE table_name = 'library' ); ` )
Variables ¶
This section is empty.
Functions ¶
func InitDatabase ¶
func InitDatabase(conn *pgx.Conn) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.