offset

package
v0.25.0 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2024 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadYAML

func LoadYAML(path string, value any) error

func SaveYAML

func SaveYAML(path string, value any) error

Types

type LoadSaver

type LoadSaver interface {
	Load(io.Reader) error
	Save(io.Writer) error
}

type Offset

type Offset struct {
	Callback LoadSaver
	// contains filtered or unexported fields
}

func NewOffset

func NewOffset(path string) *Offset

func (*Offset) Load

func (o *Offset) Load() error

func (*Offset) Save

func (o *Offset) Save() error

Jump to

Keyboard shortcuts

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