progress

package
v0.0.0-...-45a0741 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Incomplete = iota
	Inprogress
	Complete
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Progress

type Progress struct {
	ID     bson.ObjectId  `bson:"_id,omitempty" json:"id"`
	UserID bson.ObjectId  `bson:"userId" json:"userId"`
	Tasks  []TaskProgress `bson:"tasks" json:"tasks"`
}

type TaskProgress

type TaskProgress struct {
	Slug   goal.TaskSlug `bson:"slug" json:"slug"`
	Status int           `bson:"status" json:"status"`
}

Jump to

Keyboard shortcuts

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