data

package
v0.1.12 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2025 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Data

type Data struct {
	// contains filtered or unexported fields
}

func New

func New(pool *pgxpool.Pool) *Data

func (*Data) Add

func (d *Data) Add(data []domain.Data) error

func (*Data) Clear

func (d *Data) Clear(backet string, of time.Time)

func (*Data) Create

func (d *Data) Create(bucket string)

func (*Data) Find

func (d *Data) Find(data *dto.DataSelect) []domain.Data

func (*Data) Select

func (d *Data) Select(backet string, from time.Time, to time.Time) []domain.Data

Jump to

Keyboard shortcuts

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