model

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExportedTask added in v1.4.0

type ExportedTask struct {
	Title   string    `json:"desc"`
	StartAt time.Time `json:"start"`
	EndAt   time.Time `json:"end"`
}

func (ExportedTask) Bytes added in v1.4.0

func (t ExportedTask) Bytes() []byte

type Task

type Task struct {
	ID      uint64    `json:"id"`
	Title   string    `json:"desc"`
	StartAt time.Time `json:"start"`
	EndAt   time.Time `json:"end"`
}

func (Task) Bytes

func (t Task) Bytes() []byte

Jump to

Keyboard shortcuts

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