repo

package
v0.0.0-...-52b9301 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SheetName = "Database"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Student

type Student struct {
	Row      int
	Name     string
	Gender   string
	Level    string
	State    string
	Major    string
	Activity string
}

type StudentRepo

type StudentRepo interface {
	FindOne(gsheet string, row int) (*Student, error)
	Update(gsheet string, row int, student *Student) error
}

func NewStudentRepo

func NewStudentRepo(gs *sheets.Service) StudentRepo

NewStudentRepo

Jump to

Keyboard shortcuts

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