db

package
v0.0.0-...-b7290c9 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DBeffort *sql.DB
View Source
var DBexpense *sql.DB
View Source
var DBhomecare *sql.DB

Functions

func InitDB

func InitDB()

Types

type Effort

type Effort struct {
	EffortID       int
	EmployeeName   string
	EffortType     string
	EffortDate     string
	StartTimeStamp sql.NullString
	EndTimeStamp   sql.NullString
	DurationInHour sql.NullFloat64
	Description    sql.NullString
	Amount         float64
	PetName        sql.NullString
}

func ReadEffortData

func ReadEffortData() ([]Effort, error)

type Expense

type Expense struct {
	ExpenseID          int
	EmployeeName       string
	ExpenseDate        string
	ExpenseDescription string
	ExpenseAmount      float64
}

type HomeCare

type HomeCare struct {
	HomeCareID          int
	EmployeeName        string
	HomeCareStartTime   string
	HomeCareEndTime     string
	HomeCareDuration    float64
	HomeCareDescription string
	HomeCareAmount      float64
	HomeCarePetName     string
	HomeCarePetType     string
}

Jump to

Keyboard shortcuts

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