filetool

package
v0.0.0-...-160fd46 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2018 License: MIT Imports: 4 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Abs

func Abs(name string) (string, error)

Abs -

func Ext

func Ext(name string) string

Ext -

func NewDecoder

func NewDecoder(f *os.File) *json.Decoder

NewDecoder -

func NewEncoder

func NewEncoder(f *os.File) *json.Encoder

NewEncoder -

func Open

func Open(name string, opt Option, perm os.FileMode) (*os.File, error)

Open -

Types

type Option

type Option int

Option -

const (
	// IGNORE -
	IGNORE Option = iota
	// RDONLY -
	RDONLY
	// WRONLY -
	WRONLY
	// RDWR -
	RDWR
	// APPEND -
	APPEND
	// TRUNC -
	TRUNC
)

Jump to

Keyboard shortcuts

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