context

package
v0.2.38 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Context

type Context struct {
	Name   string `json:"name"`
	TaskNo int    `json:"taskNo"`
	Done   bool   `json:"done"`

	Now int `json:"now"`
	// contains filtered or unexported fields
}

Context 任务上下文对象

func NewContext

func NewContext() *Context

NewContext

func (*Context) IsDone

func (c *Context) IsDone() bool

IsDone

func (*Context) SetDone

func (c *Context) SetDone(d bool)

SetDone

Jump to

Keyboard shortcuts

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