file

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReadLinesFromTextFile

func ReadLinesFromTextFile(path string) ([]string, error)

ReadLinesFromTextFile is a convenience method for extracting lines of text from a text file. The end of line character is omitted.

func SaveTextToFile

func SaveTextToFile(path string, text string) error

SaveTextToFile writes a string to the location pointed to by path,

overwriting any existign files.

Types

This section is empty.

Jump to

Keyboard shortcuts

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