models

package
v0.9.8 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2022 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CountDown

type CountDown struct {
	Name    string     `json:"name"`
	Desc    string     `json:"description"`
	DueDate CustomTime `json:"dueDate"`
}

func (CountDown) Description

func (c CountDown) Description() string

func (CountDown) FilterValue

func (c CountDown) FilterValue() string

func (CountDown) String

func (c CountDown) String() string

func (CountDown) Title

func (c CountDown) Title() string

type CustomTime

type CustomTime struct {
	time.Time
}

func (*CustomTime) MarshalJSON

func (t *CustomTime) MarshalJSON() ([]byte, error)

func (*CustomTime) UnmarshalJSON

func (t *CustomTime) UnmarshalJSON(buf []byte) error

Jump to

Keyboard shortcuts

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