Documentation ¶ Index ¶ Variables func Open() error type SRMI func (ss SRMI) CreateTable(name string, columns []string) error func (ss SRMI) DropTable(name string) error func (ss SRMI) RawSelectAll(tablename string) (*sql.Rows, error) type Srm Constants ¶ This section is empty. Variables ¶ View Source var DB *sql.DB there is a global variable with db connection and srm instance Functions ¶ func Open ¶ func Open() error Types ¶ type SRMI ¶ added in v0.9.6 type SRMI struct { } func (SRMI) CreateTable ¶ added in v0.9.6 func (ss SRMI) CreateTable(name string, columns []string) error func (SRMI) DropTable ¶ added in v0.9.6 func (ss SRMI) DropTable(name string) error func (SRMI) RawSelectAll ¶ added in v0.9.6 func (ss SRMI) RawSelectAll(tablename string) (*sql.Rows, error) type Srm ¶ type Srm interface { CreateTable(string, []string) error DropTable(string) error RawSelectAll(string) (*sql.Rows, error) } var SRM Srm Source Files ¶ View all Source files db.go srm.go srmImplementation.go Directories ¶ Show internal Expand all Path Synopsis builder Click to show internal directories. Click to hide internal directories.