offset

package
v0.5.11 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2022 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 interface{}) error

func SaveYAML

func SaveYAML(path string, value interface{}) 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