restricted

package
v1.6.1 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2023 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetGrades

func GetGrades(ctx *gin.Context, grades []models.Record)

GetGrades takes the grades models and returns its response view object by creating buckets of frequency

For example a collection of grades {7.0, 7.5, 10.0, 10.0} will become {0.0: 0, ..., 7.0: 1, ..., 7.5: 1, ..., 10.0: 2}

Types

This section is empty.

Jump to

Keyboard shortcuts

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