file

package
v0.0.0-...-00984ce Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2018 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package file implements utility functions used to work with arbitrary files.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadData

func LoadData(file string) ([]byte, error)

LoadData reads the specified file and returns it as a bytes slice.

func ReadLines

func ReadLines(fileName string) ([]string, error)

ReadLines reads the content of the given file into a string slice

Types

This section is empty.

Jump to

Keyboard shortcuts

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