mylib

package
Version: v0.0.0-...-d647f49 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2021 License: Unlicense Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateTable

func CreateTable(db *sql.DB)

func InitDB

func InitDB(filepath string) *sql.DB

func StoreItem

func StoreItem(db *sql.DB, items []TestItem)

Types

type TestItem

type TestItem struct {
	Id    string
	Name  string
	Phone string
}

func ReadItem

func ReadItem(db *sql.DB) []TestItem

Source Files

Jump to

Keyboard shortcuts

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