sheet

package
v0.0.0-...-652937c Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Sheet

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

func New

func New(db *sqlx.DB) *Sheet

func (*Sheet) CreateSheet

func (db *Sheet) CreateSheet(ctx context.Context, sheet *sql.Sheet) error

func (*Sheet) DeleteSheetById

func (db *Sheet) DeleteSheetById(ctx context.Context, id int) error

func (*Sheet) GetAllSheets

func (db *Sheet) GetAllSheets(ctx context.Context) ([]sql.Sheet, error)

func (*Sheet) GetSheetById

func (db *Sheet) GetSheetById(ctx context.Context, id int) (*sql.Sheet, error)

func (*Sheet) GetSheetByName

func (db *Sheet) GetSheetByName(ctx context.Context, name string) (*sql.Sheet, error)

func (*Sheet) Ping

func (db *Sheet) Ping(ctx context.Context) error

func (*Sheet) UpdateSheetById

func (db *Sheet) UpdateSheetById(ctx context.Context, id int, sheet *sql.Sheet) (*sql.Sheet, error)

Jump to

Keyboard shortcuts

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