valueobject

package
v0.0.0-...-0e50a25 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Task

type Task struct {
	ID         primitive.ObjectID `bson:"_id"`
	ProviderID primitive.ObjectID `bson:"provider_id"`
	Name       string             `bson:"name"`
	Difficulty int                `bson:"difficulty"`
	Duration   int                `bson:"duration"`
	Intensity  int                `bson:"intensity"`
}

func (*Task) GetIntensity

func (t *Task) GetIntensity() int

Jump to

Keyboard shortcuts

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