modsfile

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Parse

func Parse(prefix string, file io.Reader) (
	urlsSlice []string, excls []*regexp.Regexp, version string, err error)

Parse returns a slice of URLs and a slice of exclusions.

func ParseFile

func ParseFile(prefix, fileName string) ([]string, []*regexp.Regexp, string, error)

ParseFile opens the file called fileName and calls Parse.

Types

This section is empty.

Jump to

Keyboard shortcuts

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