setupnewuser

package
v1.0.6 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AssessmentName = "Trigonometric Functions"
View Source
var CourseName = "Trigonometry"
View Source
var KeyName = "Math Class"

Functions

func DisplayData

func DisplayData(user response.User, anotherUserEmail string)

func RegisterNewUser

func RegisterNewUser() (string, error)

func SetupNewUser

func SetupNewUser()

func ShareData

func ShareData(user response.User, anotherUserEmail string, keyWithCourses KeyWithCourses) error

Types

type CourseWithAssessments

type CourseWithAssessments struct {
	Course      response.Course
	Assessments []response.Assessment
}

type KeyWithCourses

type KeyWithCourses struct {
	Key     response.Key
	Courses []CourseWithAssessments
}

func CreateData

func CreateData(user response.User) (KeyWithCourses, error)

Jump to

Keyboard shortcuts

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