Documentation ¶ Index ¶ type Data func New(pool *pgxpool.Pool) *Data func (d *Data) Add(data []domain.Data) error func (d *Data) Clear(backet string, of time.Time) func (d *Data) Create(bucket string) func (d *Data) Find(data *dto.DataSelect) []domain.Data func (d *Data) Select(backet string, from time.Time, to time.Time) []domain.Data 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 Source Files ¶ View all Source files crud.go Click to show internal directories. Click to hide internal directories.