io

package
v0.0.0-...-da2e21c Latest Latest
Warning

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

Go to latest
Published: Jan 1, 2019 License: MIT Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Utility

type Utility struct {
}

Utility handles io operation

func GetUtility

func GetUtility() *Utility

GetUtility returns the instance of utility

func (*Utility) ReadFile

func (receiver *Utility) ReadFile(fileName interface{}) ([]byte, error)

ReadFile reads file

func (*Utility) WriteFile

func (receiver *Utility) WriteFile(fileName interface{}, data interface{}, perm os.FileMode) error

WriteFile writes contents into the file

Jump to

Keyboard shortcuts

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