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