assignment

package
v0.0.0-...-d450093 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// CanSee is the can see permission string of assignments.
	CanSee = "assignments.can_see"

	// CanManage is the manage permission string of assignments.
	CanManage = "assignments.can_manage"
)

Variables

This section is empty.

Functions

func PollSlide

func PollSlide() projector.CallableFunc

PollSlide renders a an assignment poll.

func RequiredAssignments

func RequiredAssignments(data json.RawMessage) (map[int]bool, string, error)

RequiredAssignments returns the user ids of a assignment element.

func RequiredPollOption

func RequiredPollOption(data json.RawMessage) (map[int]bool, string, error)

RequiredPollOption returns the VoteID of the option.

func Slide

func Slide() projector.CallableFunc

Slide renders a an assignment.

Types

This section is empty.

Jump to

Keyboard shortcuts

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