file

package
v3.10.38-1+incompatible Latest Latest
Warning

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

Go to latest
Published: Aug 28, 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 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