Documentation ¶
Overview ¶
Package testlists contains code to read/rewrite the test lists.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Generator ¶
Generator is a function that posts each entry within each file in the citizenlab/test-lists on the given channel. This function will close the och channel when it has finished reading all the test-lists. This function calls runtimex.PanicOnError in case an error occurs.
Types ¶
type Entry ¶
type Entry struct { // File is the file from which we are reading. File string // Line is the line within the input file. Line int64 // URL is the URL. URL string // CategoryCode is the category code. CategoryCode string // CategoryDescription describes the category. CategoryDescription string // DateAdded is when the entry was added. DateAdded string // Source is who added the entry. Source string // Notes contains free-form textual notes. Notes string }
Entry is an entry of a test list.
Click to show internal directories.
Click to hide internal directories.