file

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type File

type File struct {
	// contains filtered or unexported fields
}

func New

func New(trust bool) *File

func (*File) Read

func (f *File) Read(fileName string) ([]byte, error)

func (*File) Save deprecated

func (f *File) Save(fileName string, data []byte) (bool, error)

Deprecated: Use Write instead.

func (*File) Write

func (f *File) Write(fileName string, data []byte) (bool, error)

Jump to

Keyboard shortcuts

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