helpers

package
v0.4.4 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2018 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfigPath

func ConfigPath() (path string)

ConfigPath returns the path to the config file

func ExpandPath

func ExpandPath(path string) string

ExpandPath expands a relative path to absolute path

func FeedsPath

func FeedsPath() (path string)

FeedsPath returns the path to the feeds path

func GetWidth

func GetWidth() uint

GetWidth returns your terminal width

func ReadFeeds

func ReadFeeds(path string) (lines []string, err error)

ReadFeeds reads a feeds file stripping out blank lines and comments

func ReadLines

func ReadLines(path string) (lines []string, err error)

ReadLines reads a file into an array of lines

Types

This section is empty.

Jump to

Keyboard shortcuts

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