data

package
v0.0.0-...-4574adc Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2025 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFetchOutput

func NewFetchOutput(output string, err error) *fetchOutput

func WriteTodoFile

func WriteTodoFile(path string, items []*TodoOutput) error

Types

type FetchOutput

type FetchOutput interface {
	Error() error
	Output() string
}

func RunAPI

func RunAPI(url, jsonPath string) FetchOutput

func RunScript

func RunScript(command string) FetchOutput

type TodoOutput

type TodoOutput struct {
	Done  bool
	Title string
}

func ReadTodoFile

func ReadTodoFile(path string) ([]*TodoOutput, error)

Jump to

Keyboard shortcuts

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