db

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package db implements database handling

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Delete

func Delete(columnID int, table string)

func DeleteAll

func DeleteAll()

func Init

func Init()

func Insert

func Insert(charge int, timestamp time.Time)

func Last

func Last() (id, charge int, timestamp time.Time)

func List

func List()

func ListSavedPeriods

func ListSavedPeriods()

func Path

func Path() string

func SaveLastPeriod

func SaveLastPeriod()

Types

This section is empty.

Jump to

Keyboard shortcuts

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