sqlite

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Storage

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

func New

func New(storagePath string) (*Storage, error)

func (*Storage) AddUser

func (s *Storage) AddUser(institute string, course string, groupNumber string, peerId int) error

func (*Storage) CheckSchedule

func (s *Storage) CheckSchedule(institute string, course string, groupNumber string) (bool, error)

func (*Storage) DeleteUser

func (s *Storage) DeleteUser(peerId int) error

func (*Storage) GetSchedule

func (s *Storage) GetSchedule(day string, peerId int) (string, error)

func (*Storage) UserAddWeek

func (s *Storage) UserAddWeek(week string, peerId int) error

Jump to

Keyboard shortcuts

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