file

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2022 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Interface

type Interface interface {
	ReadWriteTruncate(src, dst string) (ok bool)
	WriteTruncate(name string, data any) (ok bool)
	WriteAppend(name string, data any) (ok bool)
	WriteGoCode(name string, data any) (ok bool)
	WriteBinary(name string, data any) (ok bool)
	WriteJson(name string, Obj any) (ok bool)
	WriteHjson(name string, Obj any) (ok bool)
	ToLines(data any) (lines []string, ok bool)
	ReadToLines(path string) (lines []string, ok bool)
	GoCode() string
	Copy(source, destination string) (ok bool)
}

func New

func New() Interface

Jump to

Keyboard shortcuts

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