shared

package
v0.0.4-alpha Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ErrorContains

func ErrorContains(out error, want string) bool

func FGetStructFromYaml

func FGetStructFromYaml[T any](r io.Reader) ([]T, error)

func FWriteStructToYaml

func FWriteStructToYaml[T any](w io.Writer, todoList []T) error

func FormatRemoveHome

func FormatRemoveHome(filePathWithHome string) (string, error)

func GetHomeRemovedHomeDir

func GetHomeRemovedHomeDir() (string, error)

func GetHomeRemovedWorkingDir

func GetHomeRemovedWorkingDir() (string, error)

func OpenDefaultEditor

func OpenDefaultEditor(data []byte) ([]byte, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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