save

package
v0.29.2 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2026 License: MIT Imports: 7 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ConfigFolder string
View Source
var IngredientsFolder string

Functions

func DeleteFile

func DeleteFile(filepath string)

func ReadFile

func ReadFile(filepath string) []byte

func ReadInfoYaml

func ReadInfoYaml(filepath string, m map[string][]string)

func ReadYaml

func ReadYaml(filename string, m map[string]map[string][]string)

func WriteFile

func WriteFile(filepath string, data []byte)

func WriteYaml

func WriteYaml(filepath string, m interface{})

Types

type Logger

type Logger struct {
	Store []Store
	// contains filtered or unexported fields
}

func NewLogger

func NewLogger(options *OptionsLogger) *Logger

NewLogger instance

func (*Logger) AsyncWrite

func (l *Logger) AsyncWrite()

AsyncWrite data

func (*Logger) Close

func (l *Logger) Close()

Close logger instance

func (*Logger) Save

func (l *Logger) Save(folder string, userdata types.UserData) error

LogRequest and user data

type OptionsLogger

type OptionsLogger struct {
	OutputFolder string
}

type Store

type Store interface {
	Save(data types.OutputData) error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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