pluginUtil

package
v0.0.0-...-6b4cc3a Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2019 License: MIT Imports: 4 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReadFileLine

func ReadFileLine(file *os.File) (string, error)

ReadFileLine reads one line from the given file and returns it, not including the "\n" character

func ReadFileToBuff

func ReadFileToBuff(fsPath string) *[]byte

ReadFileToBuff reads the enter file found at fsPath in to a []byte buffer and returns it. If any thing goes wrong nil is returned.

Note. This function uses the global cache provided by the, "github.com/CanadianCommander/MicroWeb/pkg/cache" package.

Types

This section is empty.

Jump to

Keyboard shortcuts

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