myconnect

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2024 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Myconnection

type Myconnection struct {
	// contains filtered or unexported fields
}

func New added in v0.0.2

func New(user string, passwd string, url string, database string) (mc Myconnection, err error)

func (*Myconnection) Close added in v0.0.3

func (DB *Myconnection) Close() (err error)

func (*Myconnection) Exec

func (DB *Myconnection) Exec(sql string, args ...any) (result sql.Result, err error)

func (*Myconnection) Query

func (DB *Myconnection) Query(sql string, args ...any) (result []map[string]string, err error)

func (*Myconnection) QueryRow

func (DB *Myconnection) QueryRow(sql string, args ...any) (result map[string]string, err error)

Jump to

Keyboard shortcuts

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