corm

package
v0.7.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 8, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CormInitialized bool = false

Functions

func Init

func Init() error

Types

type ICorm

type ICorm interface {
	GetDb() *sql.DB
	// execute sql statement
	Exec(string) (sql.Result, error)
	// query something from db
	Query(string) (*sql.Rows, error)
}

corm interface

var Corm ICorm

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL