go_simple_sql

package module
v0.0.0-...-54f1248 Latest Latest
Warning

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

Go to latest
Published: May 3, 2017 License: Apache-2.0 Imports: 2 Imported by: 0

README

go-simple-sql

simple sql with golang

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CONN

type CONN struct {
	DB sql.DB
}

func (*CONN) Delete

func (c *CONN) Delete(text string) (int64, error)

func (*CONN) InitDB

func (c *CONN) InitDB(ip, port, user, pwd, dbname, charset string) error

func (*CONN) Insert

func (c *CONN) Insert(text string) (int64, error)

func (*CONN) Query

func (c *CONN) Query(text string) ([]map[string]string, error)

func (*CONN) Update

func (c *CONN) Update(text string) (int64, error)

Jump to

Keyboard shortcuts

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