tools

package
v0.0.0-...-0ed62f3 Latest Latest
Warning

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

Go to latest
Published: Dec 31, 2020 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReadFile

func ReadFile(filename string) (string, error)

ReadFile Reads a file to string

func ReadFileLines

func ReadFileLines(filename string) ([]string, error)

ReadFileLines reads the file lines to an array

func ReadFileLinesRemoveLast

func ReadFileLinesRemoveLast(filename string) ([]string, error)

ReadFileLinesRemoveLast reads the file lines to an array and removes the last line if it's blank

Types

This section is empty.

Jump to

Keyboard shortcuts

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