add readme
This commit is contained in:
@@ -41,7 +41,9 @@ func ReadCsvRedirects(file string) (Redirects, error) {
|
||||
return nil, errors.New("CSV must contain From, To, and Status Code headings")
|
||||
}
|
||||
|
||||
// Read data
|
||||
redirects := Redirects{}
|
||||
|
||||
for {
|
||||
row, err := csvReader.Read()
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user