Help us shape the future of Go! Take the 2026 Go Developer Survey

recovery

package
v1.124.0 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateFile

func CreateFile(repoName, filename string, i any) (string, error)

CreateFile will create a filename under the recoverDir which lives inside the config.ConfigDir

func FromFile

func FromFile(repoName, fileName string, i any) error

FromFile will try to open the filename and unmarshal the contents into a struct i of any type

Types

This section is empty.

Jump to

Keyboard shortcuts

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