file

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2018 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckFile

func CheckFile(file string) (err error)

CheckFile is responsible for making sure that the file exist, which includes

- making sure that the file path exists - making sure that the file path is not a directory

Types

type Data

type Data struct {
	URL  string
	Tags []string
}

Data -- Container to keep the url and tags of a feed

func ExtractFileContent

func ExtractFileContent(f string) (results []Data)

ExtractFileContent is responsible for extracting the content from the rss url file. It does not validate this data.

Jump to

Keyboard shortcuts

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