util

package
v0.0.0-...-26cef38 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2020 License: MIT Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckInput

func CheckInput(response string) bool

CheckInput : Give true if 'yes' provided

func DeleteRecord

func DeleteRecord(id int)

DeleteRecord : deletes the record with the given ID from the feel_recording table

func GetUserConfirmation

func GetUserConfirmation() bool

GetUserConfirmation : Get a yes/no answer from the user

func OpenDb

func OpenDb() *sql.DB

OpenDb : returns a connection to the SQLite database

Types

This section is empty.

Jump to

Keyboard shortcuts

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