file

package
v3.7.0-0.133.0+incompa... Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2017 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 added in v1.1.2

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