store

package
v0.0.0-...-50627bb Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2023 License: Apache-2.0 Imports: 4 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 interface {
	Insert(data []model.Data) error
	Retrieve(limit int, offset int) ([]model.Data, error)
}

type SQLData

type SQLData struct {
	DB *sql.DB
}

func (SQLData) Insert

func (s SQLData) Insert(data []model.Data) error

func (SQLData) Retrieve

func (s SQLData) Retrieve(limit int, offset int) ([]model.Data, error)

Jump to

Keyboard shortcuts

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