database

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SQLHandler

type SQLHandler struct {
	Conn *sqlx.DB
}

SQLHandler ...

func NewSQLHandler

func NewSQLHandler() *SQLHandler

NewSQLHandler ...

func (*SQLHandler) Prepare

func (s *SQLHandler) Prepare(query string) (*sql.Stmt, error)

Prepare ...

func (*SQLHandler) Select

func (s *SQLHandler) Select(dest interface{}, query string, args ...interface{}) error

Select ...

Jump to

Keyboard shortcuts

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