workoutsheets

package
v0.0.0-...-28102eb 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

This section is empty.

Functions

func RegisterRoutes

func RegisterRoutes(router *gin.Engine, client *mongo.Client)

Types

type CreateWorkoutSheetBody

type CreateWorkoutSheetBody struct {
	StudentID      string `json:"studentId" validate:"required"`
	Type           string `json:"type" validate:"required"`
	StartTimestamp string `json:"startTimestamp" validate:"required"`
	EndTimestamp   string `json:"endTimestamp" validate:"required"`
	Observation    string `json:"observation"`
}

type UpdateWorkoutSheetBody

type UpdateWorkoutSheetBody struct {
	Type           string `json:"type" validate:"required"`
	StartTimestamp string `json:"startTimestamp" validate:"required"`
	EndTimestamp   string `json:"endTimestamp" validate:"required"`
	Observation    string `json:"observation"`
}

Jump to

Keyboard shortcuts

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