codec

package
v0.0.0-...-2cf6353 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MarshalJSON

func MarshalJSON(tasks []core.Task) ([]byte, error)

func MarshalMarkdown

func MarshalMarkdown(tasks []core.Task) []byte

func UnmarshalJSON

func UnmarshalJSON(b []byte) ([]core.Task, error)

func UnmarshalMarkdown

func UnmarshalMarkdown(b []byte) ([]core.Task, error)

Types

type JSONExport

type JSONExport struct {
	ExportedAt time.Time   `json:"exported_at"`
	Tasks      []core.Task `json:"tasks"`
}

Jump to

Keyboard shortcuts

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