Closed gatlinnewhouse closed 7 years ago
➜ pre-commit run --all-files
go fmt...................................................................Passed
go build.................................................................Failed
hookid: go-build
_/home/deleuze/Documents/driveraker
# _/home/deleuze/Documents/driveraker
./driveraker.go:47: undefined: strings in strings.NewReplacer
./driveraker.go:48: non-name relative - path on left side of :=
./driveraker.go:48: undefined: relative
./driveraker.go:48: undefined: path
./driveraker.go:48: cannot assign to relative - path
./driveraker.go:50: undefined: relative
./driveraker.go:50: undefined: path
./driveraker.go:71: undefined: ok
./driveraker.go:72: undefined: u
./driveraker.go:73: cannot use nil as type bool in return argument
./driveraker.go:73: too many errors
go metalinter............................................................Failed
hookid: go-metalinter
driveraker.go:48:9:error: expected identifier on left side of := (vet)
driveraker.go:48:9:warning: expected identifier on left side of := (vetshadow)
driveraker.go:48:9:warning: unused variable or constant expected identifier on left side of := (varcheck)
driveraker.go:71:38:warning: unused variable or constant undeclared name: ok (varcheck)
driveraker.go:72:25:warning: unused variable or constant undeclared name: u (varcheck)
driveraker.go:73:24:warning: unused variable or constant cannot convert nil (untyped nil value) to bool (varcheck)
driveraker.go:75:16:warning: unused variable or constant cannot use errors.New("Key not found") (value of type error) as bool value in return statement (varcheck)
driveraker.go:71:12:warning: unused variable or constant p declared but not used (varcheck)
driveraker.go:71:15:warning: unused variable or constant okay declared but not used (varcheck)
driveraker.go:83:24:warning: unused variable or constant cannot use errors.New("Key already exists") (value of type error) as bool value in return statement (varcheck)
driveraker.go:87:16:warning: unused variable or constant cannot convert nil (untyped nil value) to bool (varcheck)
driveraker.go:93:32:warning: unused variable or constant cannot use path (variable of type *string) as string value in argument to md5hash (varcheck)
driveraker.go:93:38:warning: unused variable or constant cannot use DriveSyncDirectory (variable of type *string) as string value in argument to md5hash (varcheck)
driveraker.go:95:52:warning: unused variable or constant cannot convert nil (untyped nil value) to bool (varcheck)
driveraker.go:121:26:warning: unused variable or constant cannot use s.Set(&r.key, &r.path) (value of type bool) as error value in assignment: missing method Error (varcheck)
driveraker.go:47:14:warning: unused variable or constant undeclared name: strings (varcheck)
driveraker.go:48:9:warning: unused variable or constant cannot declare relative - path (varcheck)
driveraker.go:48:23:warning: unused variable or constant no new variables on left side of := (varcheck)
driveraker.go:50:29:warning: unused variable or constant undeclared name: relative (varcheck)
driveraker.go:50:38:warning: unused variable or constant undeclared name: path (varcheck)
driveraker.go:200:12:warning: unused variable or constant undeclared name: intepret_drive_output (varcheck)
driveraker.go:210:9:warning: unused variable or constant matches declared but not used (varcheck)
driveraker.go:217:9:warning: unused variable or constant out declared but not used (varcheck)
driveraker.go:257:1:warning: unused variable or constant missing return (varcheck)
driveraker.go:260:16:warning: unused variable or constant invalid operation: m (variable of type *MarkdownFileRecord) has no field or method readLines (varcheck)
driveraker.go:48:9:warning: expected identifier on left side of := (deadcode)
driveraker.go:48:9:warning: expected identifier on left side of := (aligncheck)
driveraker.go:71:38:warning: undeclared name: ok (aligncheck)
driveraker.go:72:25:warning: undeclared name: u (aligncheck)
driveraker.go:73:24:warning: cannot convert nil (untyped nil value) to bool (aligncheck)
driveraker.go:75:16:warning: cannot use errors.New("Key not found") (value of type error) as bool value in return statement (aligncheck)
driveraker.go:71:12:warning: p declared but not used (aligncheck)
driveraker.go:71:15:warning: okay declared but not used (aligncheck)
driveraker.go:83:24:warning: cannot use errors.New("Key already exists") (value of type error) as bool value in return statement (aligncheck)
driveraker.go:87:16:warning: cannot convert nil (untyped nil value) to bool (aligncheck)
driveraker.go:93:32:warning: cannot use path (variable of type *string) as string value in argument to md5hash (aligncheck)
driveraker.go:93:38:warning: cannot use DriveSyncDirectory (variable of type *string) as string value in argument to md5hash (aligncheck)
driveraker.go:95:52:warning: cannot convert nil (untyped nil value) to bool (aligncheck)
driveraker.go:121:26:warning: cannot use s.Set(&r.key, &r.path) (value of type bool) as error value in assignment: missing method Error (aligncheck)
driveraker.go:47:14:warning: undeclared name: strings (aligncheck)
driveraker.go:48:9:warning: cannot declare relative - path (aligncheck)
driveraker.go:48:23:warning: no new variables on left side of := (aligncheck)
driveraker.go:50:29:warning: undeclared name: relative (aligncheck)
driveraker.go:50:38:warning: undeclared name: path (aligncheck)
driveraker.go:200:12:warning: undeclared name: intepret_drive_output (aligncheck)
driveraker.go:210:9:warning: matches declared but not used (aligncheck)
driveraker.go:217:9:warning: out declared but not used (aligncheck)
driveraker.go:257:1:warning: missing return (aligncheck)
driveraker.go:260:16:warning: invalid operation: m (variable of type *MarkdownFileRecord) has no field or method readLines (aligncheck)
driveraker.go:48:9:warning: expected identifier on left side of := (unused)
driveraker.go:71:38:warning: undeclared name: ok (unused)
driveraker.go:72:25:warning: undeclared name: u (unused)
driveraker.go:73:24:warning: cannot convert nil (untyped nil value) to bool (unused)
driveraker.go:75:16:warning: cannot use errors.New("Key not found") (value of type error) as bool value in return statement (unused)
driveraker.go:71:12:warning: p declared but not used (unused)
driveraker.go:71:15:warning: okay declared but not used (unused)
driveraker.go:83:24:warning: cannot use errors.New("Key already exists") (value of type error) as bool value in return statement (unused)
driveraker.go:87:16:warning: cannot convert nil (untyped nil value) to bool (unused)
driveraker.go:93:32:warning: cannot use path (variable of type *string) as string value in argument to md5hash (unused)
driveraker.go:93:38:warning: cannot use DriveSyncDirectory (variable of type *string) as string value in argument to md5hash (unused)
driveraker.go:95:52:warning: cannot convert nil (untyped nil value) to bool (unused)
driveraker.go:121:26:warning: cannot use s.Set(&r.key, &r.path) (value of type bool) as error value in assignment: missing method Error (unused)
driveraker.go:47:14:warning: undeclared name: strings (unused)
driveraker.go:48:9:warning: cannot declare relative - path (unused)
driveraker.go:48:23:warning: no new variables on left side of := (unused)
driveraker.go:50:29:warning: undeclared name: relative (unused)
driveraker.go:50:38:warning: undeclared name: path (unused)
driveraker.go:200:12:warning: undeclared name: intepret_drive_output (unused)
driveraker.go:210:9:warning: matches declared but not used (unused)
driveraker.go:217:9:warning: out declared but not used (unused)
driveraker.go:257:1:warning: missing return (unused)
driveraker.go:260:16:warning: invalid operation: m (variable of type *MarkdownFileRecord) has no field or method readLines (unused)
driveraker.go:48:9:warning: expected identifier on left side of := (golint)
driveraker.go:48:9:warning: unused struct field expected identifier on left side of := (structcheck)
driveraker.go:71:38:warning: unused struct field undeclared name: ok (structcheck)
driveraker.go:72:25:warning: unused struct field undeclared name: u (structcheck)
driveraker.go:73:24:warning: unused struct field cannot convert nil (untyped nil value) to bool (structcheck)
driveraker.go:75:16:warning: unused struct field cannot use errors.New("Key not found") (value of type error) as bool value in return statement (structcheck)
driveraker.go:71:12:warning: unused struct field p declared but not used (structcheck)
driveraker.go:71:15:warning: unused struct field okay declared but not used (structcheck)
driveraker.go:83:24:warning: unused struct field cannot use errors.New("Key already exists") (value of type error) as bool value in return statement (structcheck)
driveraker.go:87:16:warning: unused struct field cannot convert nil (untyped nil value) to bool (structcheck)
driveraker.go:93:32:warning: unused struct field cannot use path (variable of type *string) as string value in argument to md5hash (structcheck)
driveraker.go:93:38:warning: unused struct field cannot use DriveSyncDirectory (variable of type *string) as string value in argument to md5hash (structcheck)
driveraker.go:95:52:warning: unused struct field cannot convert nil (untyped nil value) to bool (structcheck)
driveraker.go:121:26:warning: unused struct field cannot use s.Set(&r.key, &r.path) (value of type bool) as error value in assignment: missing method Error (structcheck)
driveraker.go:47:14:warning: unused struct field undeclared name: strings (structcheck)
driveraker.go:48:9:warning: unused struct field cannot declare relative - path (structcheck)
driveraker.go:48:23:warning: unused struct field no new variables on left side of := (structcheck)
driveraker.go:50:29:warning: unused struct field undeclared name: relative (structcheck)
driveraker.go:50:38:warning: unused struct field undeclared name: path (structcheck)
driveraker.go:200:12:warning: unused struct field undeclared name: intepret_drive_output (structcheck)
driveraker.go:210:9:warning: unused struct field matches declared but not used (structcheck)
driveraker.go:217:9:warning: unused struct field out declared but not used (structcheck)
driveraker.go:257:1:warning: unused struct field missing return (structcheck)
driveraker.go:260:16:warning: unused struct field invalid operation: m (variable of type *MarkdownFileRecord) has no field or method readLines (structcheck)
driveraker.go:48:9:warning: expected identifier on left side of := (gosimple)
driveraker.go:71:38:warning: undeclared name: ok (gosimple)
driveraker.go:72:25:warning: undeclared name: u (gosimple)
driveraker.go:73:24:warning: cannot convert nil (untyped nil value) to bool (gosimple)
driveraker.go:75:16:warning: cannot use errors.New("Key not found") (value of type error) as bool value in return statement (gosimple)
driveraker.go:71:12:warning: p declared but not used (gosimple)
driveraker.go:71:15:warning: okay declared but not used (gosimple)
driveraker.go:83:24:warning: cannot use errors.New("Key already exists") (value of type error) as bool value in return statement (gosimple)
driveraker.go:87:16:warning: cannot convert nil (untyped nil value) to bool (gosimple)
driveraker.go:93:32:warning: cannot use path (variable of type *string) as string value in argument to md5hash (gosimple)
driveraker.go:93:38:warning: cannot use DriveSyncDirectory (variable of type *string) as string value in argument to md5hash (gosimple)
driveraker.go:95:52:warning: cannot convert nil (untyped nil value) to bool (gosimple)
driveraker.go:121:26:warning: cannot use s.Set(&r.key, &r.path) (value of type bool) as error value in assignment: missing method Error (gosimple)
driveraker.go:47:14:warning: undeclared name: strings (gosimple)
driveraker.go:48:9:warning: cannot declare relative - path (gosimple)
driveraker.go:48:23:warning: no new variables on left side of := (gosimple)
driveraker.go:50:29:warning: undeclared name: relative (gosimple)
driveraker.go:50:38:warning: undeclared name: path (gosimple)
driveraker.go:200:12:warning: undeclared name: intepret_drive_output (gosimple)
driveraker.go:210:9:warning: matches declared but not used (gosimple)
driveraker.go:217:9:warning: out declared but not used (gosimple)
driveraker.go:257:1:warning: missing return (gosimple)
driveraker.go:260:16:warning: invalid operation: m (variable of type *MarkdownFileRecord) has no field or method readLines (gosimple)
driveraker.go:48:9:warning: expected identifier on left side of := (staticcheck)
driveraker.go:71:38:warning: undeclared name: ok (staticcheck)
driveraker.go:72:25:warning: undeclared name: u (staticcheck)
driveraker.go:73:24:warning: cannot convert nil (untyped nil value) to bool (staticcheck)
driveraker.go:75:16:warning: cannot use errors.New("Key not found") (value of type error) as bool value in return statement (staticcheck)
driveraker.go:71:12:warning: p declared but not used (staticcheck)
driveraker.go:71:15:warning: okay declared but not used (staticcheck)
driveraker.go:83:24:warning: cannot use errors.New("Key already exists") (value of type error) as bool value in return statement (staticcheck)
driveraker.go:87:16:warning: cannot convert nil (untyped nil value) to bool (staticcheck)
driveraker.go:93:32:warning: cannot use path (variable of type *string) as string value in argument to md5hash (staticcheck)
driveraker.go:93:38:warning: cannot use DriveSyncDirectory (variable of type *string) as string value in argument to md5hash (staticcheck)
driveraker.go:95:52:warning: cannot convert nil (untyped nil value) to bool (staticcheck)
driveraker.go:121:26:warning: cannot use s.Set(&r.key, &r.path) (value of type bool) as error value in assignment: missing method Error (staticcheck)
driveraker.go:47:14:warning: undeclared name: strings (staticcheck)
driveraker.go:48:9:warning: cannot declare relative - path (staticcheck)
driveraker.go:48:23:warning: no new variables on left side of := (staticcheck)
driveraker.go:50:29:warning: undeclared name: relative (staticcheck)
driveraker.go:50:38:warning: undeclared name: path (staticcheck)
driveraker.go:200:12:warning: undeclared name: intepret_drive_output (staticcheck)
driveraker.go:210:9:warning: matches declared but not used (staticcheck)
driveraker.go:217:9:warning: out declared but not used (staticcheck)
driveraker.go:257:1:warning: missing return (staticcheck)
driveraker.go:260:16:warning: invalid operation: m (variable of type *MarkdownFileRecord) has no field or method readLines (staticcheck)
driveraker.go:48:9:warning: expected identifier on left side of := (unconvert)
driveraker.go:71:38:warning: undeclared name: ok (unconvert)
driveraker.go:72:25:warning: undeclared name: u (unconvert)
driveraker.go:73:24:warning: cannot convert nil (untyped nil value) to bool (unconvert)
driveraker.go:75:16:warning: cannot use errors.New("Key not found") (value of type error) as bool value in return statement (unconvert)
driveraker.go:71:12:warning: p declared but not used (unconvert)
driveraker.go:71:15:warning: okay declared but not used (unconvert)
driveraker.go:83:24:warning: cannot use errors.New("Key already exists") (value of type error) as bool value in return statement (unconvert)
driveraker.go:87:16:warning: cannot convert nil (untyped nil value) to bool (unconvert)
driveraker.go:93:32:warning: cannot use path (variable of type *string) as string value in argument to md5hash (unconvert)
driveraker.go:93:38:warning: cannot use DriveSyncDirectory (variable of type *string) as string value in argument to md5hash (unconvert)
driveraker.go:95:52:warning: cannot convert nil (untyped nil value) to bool (unconvert)
driveraker.go:121:26:warning: cannot use s.Set(&r.key, &r.path) (value of type bool) as error value in assignment: missing method Error (unconvert)
driveraker.go:47:14:warning: undeclared name: strings (unconvert)
driveraker.go:48:9:warning: cannot declare relative - path (unconvert)
driveraker.go:48:23:warning: no new variables on left side of := (unconvert)
driveraker.go:50:29:warning: undeclared name: relative (unconvert)
driveraker.go:50:38:warning: undeclared name: path (unconvert)
driveraker.go:200:12:warning: undeclared name: intepret_drive_output (unconvert)
driveraker.go:210:9:warning: matches declared but not used (unconvert)
driveraker.go:217:9:warning: out declared but not used (unconvert)
driveraker.go:257:1:warning: missing return (unconvert)
driveraker.go:260:16:warning: invalid operation: m (variable of type *MarkdownFileRecord) has no field or method readLines (unconvert)
driveraker.go:48:9:warning: parameter expected identifier on left side of := (unparam)
driveraker.go:71:38:warning: parameter undeclared name: ok (unparam)
driveraker.go:72:25:warning: parameter undeclared name: u (unparam)
driveraker.go:73:24:warning: parameter cannot convert nil (untyped nil value) to bool (unparam)
driveraker.go:75:16:warning: parameter cannot use errors.New("Key not found") (value of type error) as bool value in return statement (unparam)
driveraker.go:71:12:warning: parameter p declared but not used (unparam)
driveraker.go:71:15:warning: parameter okay declared but not used (unparam)
driveraker.go:83:24:warning: parameter cannot use errors.New("Key already exists") (value of type error) as bool value in return statement (unparam)
driveraker.go:87:16:warning: parameter cannot convert nil (untyped nil value) to bool (unparam)
driveraker.go:93:32:warning: parameter cannot use path (variable of type *string) as string value in argument to md5hash (unparam)
driveraker.go:93:38:warning: parameter cannot use DriveSyncDirectory (variable of type *string) as string value in argument to md5hash (unparam)
driveraker.go:95:52:warning: parameter cannot convert nil (untyped nil value) to bool (unparam)
driveraker.go:121:26:warning: parameter cannot use s.Set(&r.key, &r.path) (value of type bool) as error value in assignment: missing method Error (unparam)
driveraker.go:47:14:warning: parameter undeclared name: strings (unparam)
driveraker.go:48:9:warning: parameter cannot declare relative - path (unparam)
driveraker.go:48:23:warning: parameter no new variables on left side of := (unparam)
driveraker.go:50:29:warning: parameter undeclared name: relative (unparam)
driveraker.go:50:38:warning: parameter undeclared name: path (unparam)
driveraker.go:200:12:warning: parameter undeclared name: intepret_drive_output (unparam)
driveraker.go:210:9:warning: parameter matches declared but not used (unparam)
driveraker.go:217:9:warning: parameter out declared but not used (unparam)
driveraker.go:257:1:warning: parameter missing return (unparam)
driveraker.go:260:16:warning: parameter invalid operation: m (variable of type *MarkdownFileRecord) has no field or method readLines (unparam)
driveraker.go:48:9:warning: expected identifier on left side of := (interfacer)
driveraker.go:48:9:warning: error return value not checked (expected identifier on left side of :=) (errcheck)
driveraker.go:71:38:warning: error return value not checked (undeclared name: ok) (errcheck)
driveraker.go:72:25:warning: error return value not checked (undeclared name: u) (errcheck)
driveraker.go:73:24:warning: error return value not checked (cannot convert nil (untyped nil value) to bool) (errcheck)
driveraker.go:75:16:warning: error return value not checked (cannot use errors.New("Key not found") (value of type error) as bool value in return statement) (errcheck)
driveraker.go:71:12:warning: error return value not checked (p declared but not used) (errcheck)
driveraker.go:71:15:warning: error return value not checked (okay declared but not used) (errcheck)
driveraker.go:83:24:warning: error return value not checked (cannot use errors.New("Key already exists") (value of type error) as bool value in return statement) (errcheck)
driveraker.go:87:16:warning: error return value not checked (cannot convert nil (untyped nil value) to bool) (errcheck)
driveraker.go:93:32:warning: error return value not checked (cannot use path (variable of type *string) as string value in argument to md5hash) (errcheck)
driveraker.go:93:38:warning: error return value not checked (cannot use DriveSyncDirectory (variable of type *string) as string value in argument to md5hash) (errcheck)
driveraker.go:95:52:warning: error return value not checked (cannot convert nil (untyped nil value) to bool) (errcheck)
driveraker.go:121:26:warning: error return value not checked (cannot use s.Set(&r.key, &r.path) (value of type bool) as error value in assignment: missing method Error) (errcheck)
driveraker.go:47:14:warning: error return value not checked (undeclared name: strings) (errcheck)
driveraker.go:48:9:warning: error return value not checked (cannot declare relative - path) (errcheck)
driveraker.go:48:23:warning: error return value not checked (no new variables on left side of :=) (errcheck)
driveraker.go:50:29:warning: error return value not checked (undeclared name: relative) (errcheck)
driveraker.go:50:38:warning: error return value not checked (undeclared name: path) (errcheck)
driveraker.go:200:12:warning: error return value not checked (undeclared name: intepret_drive_output) (errcheck)
driveraker.go:210:9:warning: error return value not checked (matches declared but not used) (errcheck)
driveraker.go:217:9:warning: error return value not checked (out declared but not used) (errcheck)
driveraker.go:257:1:warning: error return value not checked (missing return) (errcheck)
driveraker.go:260:16:warning: error return value not checked (invalid operation: m (variable of type *MarkdownFileRecord) has no field or method readLines) (errcheck)
➜ pre-commit run --all-files
go fmt...................................................................Passed
go build.................................................................Failed
hookid: go-build
_/home/deleuze/Documents/driveraker
# _/home/deleuze/Documents/driveraker
./driveraker.go:49: non-name relative - path on left side of :=
./driveraker.go:308: value is shadowed during return
./driveraker.go:308: line_number is shadowed during return
./driveraker.go:342: no new variables on left side of :=
./driveraker.go:368: syntax error: missing { after for clause
go metalinter............................................................Failed
hookid: go-metalinter
driveraker.go:49:9:warning: expected identifier on left side of := (and 3 more errors) (deadcode)
driveraker.go:49:9:warning: expected identifier on left side of := (and 3 more errors) (golint)
driveraker.go:49:9:error: expected identifier on left side of := (and 3 more errors) (vet)
driveraker.go:49:9:warning: expected identifier on left side of := (and 3 more errors) (vetshadow)
driveraker.go:49:9:warning: expected identifier on left side of := (and 3 more errors) (interfacer)
driveraker.go:49:9:warning: unused struct field expected identifier on left side of := (and 3 more errors) (structcheck)
driveraker.go:72:38:warning: unused struct field undeclared name: ok (structcheck)
driveraker.go:73:25:warning: unused struct field undeclared name: u (structcheck)
driveraker.go:74:24:warning: unused struct field cannot convert nil (untyped nil value) to bool (structcheck)
driveraker.go:76:16:warning: unused struct field cannot use errors.New("Key not found") (value of type error) as bool value in return statement (structcheck)
driveraker.go:72:12:warning: unused struct field p declared but not used (structcheck)
driveraker.go:72:15:warning: unused struct field okay declared but not used (structcheck)
driveraker.go:84:24:warning: unused struct field cannot use errors.New("Key already exists") (value of type error) as bool value in return statement (structcheck)
driveraker.go:88:16:warning: unused struct field cannot convert nil (untyped nil value) to bool (structcheck)
driveraker.go:94:32:warning: unused struct field cannot use path (variable of type *string) as string value in argument to md5hash (structcheck)
driveraker.go:94:38:warning: unused struct field cannot use DriveSyncDirectory (variable of type *string) as string value in argument to md5hash (structcheck)
driveraker.go:96:52:warning: unused struct field cannot convert nil (untyped nil value) to bool (structcheck)
driveraker.go:122:26:warning: unused struct field cannot use s.Set(&r.key, &r.path) (value of type bool) as error value in assignment: missing method Error (structcheck)
driveraker.go:48:14:warning: unused struct field undeclared name: strings (structcheck)
driveraker.go:49:9:warning: unused struct field cannot declare relative - path (structcheck)
driveraker.go:49:23:warning: unused struct field no new variables on left side of := (structcheck)
driveraker.go:51:29:warning: unused struct field undeclared name: relative (structcheck)
driveraker.go:51:38:warning: unused struct field use of package path not in selector (structcheck)
driveraker.go:201:12:warning: unused struct field undeclared name: intepret_drive_output (structcheck)
driveraker.go:211:9:warning: unused struct field matches declared but not used (structcheck)
driveraker.go:218:9:warning: unused struct field out declared but not used (structcheck)
driveraker.go:258:1:warning: unused struct field missing return (structcheck)
driveraker.go:261:16:warning: unused struct field invalid operation: m (variable of type *MarkdownFileRecord) has no field or method readLines (structcheck)
driveraker.go:301:12:warning: unused struct field undeclared name: Index (structcheck)
driveraker.go:302:23:warning: unused struct field invalid operation: regex (variable of type string) has no field or method MustCompile (structcheck)
driveraker.go:308:17:warning: unused struct field result parameter value not in scope at return (structcheck)
driveraker.go:303:17:warning: unused struct field inner declaration of var value []string (structcheck)
driveraker.go:308:17:warning: unused struct field result parameter line_number not in scope at return (structcheck)
driveraker.go:305:17:warning: unused struct field inner declaration of var line_number int (structcheck)
driveraker.go:311:17:warning: unused struct field cannot convert "" (untyped string constant) to []string (structcheck)
driveraker.go:305:17:warning: unused struct field line_number declared but not used (structcheck)
driveraker.go:303:17:warning: unused struct field value declared but not used (structcheck)
driveraker.go:342:19:warning: unused struct field no new variables on left side of := (structcheck)
driveraker.go:364:50:warning: unused struct field invalid operation: markdownfile (variable of type *MarkdownFileRecord) has no field or method contents (structcheck)
driveraker.go:369:20:warning: unused struct field undeclared name: Index (structcheck)
driveraker.go:370:32:warning: unused struct field undeclared name: regex (structcheck)
driveraker.go:385:43:warning: unused struct field undeclared name: regex (structcheck)
driveraker.go:396:23:warning: unused struct field undeclared name: strings (structcheck)
driveraker.go:397:23:warning: unused struct field undeclared name: strings (structcheck)
driveraker.go:398:23:warning: unused struct field undeclared name: strings (structcheck)
driveraker.go:402:20:warning: unused struct field undeclared name: strings (structcheck)
driveraker.go:403:20:warning: unused struct field undeclared name: strings (structcheck)
driveraker.go:404:20:warning: unused struct field undeclared name: strings (structcheck)
driveraker.go:408:20:warning: unused struct field undeclared name: strings (structcheck)
driveraker.go:409:20:warning: unused struct field undeclared name: strings (structcheck)
driveraker.go:410:20:warning: unused struct field undeclared name: strings (structcheck)
driveraker.go:418:20:warning: unused struct field undeclared name: strings (structcheck)
driveraker.go:419:20:warning: unused struct field undeclared name: strings (structcheck)
driveraker.go:420:20:warning: unused struct field undeclared name: strings (structcheck)
driveraker.go:421:20:warning: unused struct field undeclared name: strings (structcheck)
driveraker.go:422:20:warning: unused struct field undeclared name: strings (structcheck)
driveraker.go:427:20:warning: unused struct field undeclared name: strings (structcheck)
driveraker.go:428:20:warning: unused struct field undeclared name: strings (structcheck)
driveraker.go:429:20:warning: unused struct field undeclared name: strings (structcheck)
driveraker.go:430:20:warning: unused struct field undeclared name: strings (structcheck)
driveraker.go:431:20:warning: unused struct field undeclared name: strings (structcheck)
driveraker.go:438:23:warning: unused struct field undeclared name: strings (structcheck)
driveraker.go:439:23:warning: unused struct field undeclared name: strings (structcheck)
driveraker.go:440:23:warning: unused struct field undeclared name: strings (structcheck)
driveraker.go:441:23:warning: unused struct field undeclared name: strings (structcheck)
driveraker.go:445:20:warning: unused struct field undeclared name: strings (structcheck)
driveraker.go:446:20:warning: unused struct field undeclared name: strings (structcheck)
driveraker.go:447:20:warning: unused struct field undeclared name: strings (structcheck)
driveraker.go:448:20:warning: unused struct field undeclared name: strings (structcheck)
driveraker.go:455:1:warning: unused struct field (func(_, prod_dir string, use_hugo bool, wg *sync.WaitGroup) literal) (value of type func(_ string, prod_dir string, use_hugo bool, wg *sync.WaitGroup)) is not used (structcheck)
driveraker.go:348:9:warning: unused struct field out declared but not used (structcheck)
driveraker.go:49:9:warning: parameter expected identifier on left side of := (and 3 more errors) (unparam)
driveraker.go:354:13:warning: unused struct field imagecaption declared but not used (structcheck)
driveraker.go:72:38:warning: parameter undeclared name: ok (unparam)
driveraker.go:73:25:warning: parameter undeclared name: u (unparam)
driveraker.go:74:24:warning: parameter cannot convert nil (untyped nil value) to bool (unparam)
driveraker.go:377:25:warning: unused struct field out declared but not used (structcheck)
driveraker.go:76:16:warning: parameter cannot use errors.New("Key not found") (value of type error) as bool value in return statement (unparam)
driveraker.go:72:15:warning: parameter okay declared but not used (unparam)
driveraker.go:72:12:warning: parameter p declared but not used (unparam)
driveraker.go:84:24:warning: parameter cannot use errors.New("Key already exists") (value of type error) as bool value in return statement (unparam)
driveraker.go:88:16:warning: parameter cannot convert nil (untyped nil value) to bool (unparam)
driveraker.go:94:32:warning: parameter cannot use path (variable of type *string) as string value in argument to md5hash (unparam)
driveraker.go:94:38:warning: parameter cannot use DriveSyncDirectory (variable of type *string) as string value in argument to md5hash (unparam)
driveraker.go:96:52:warning: parameter cannot convert nil (untyped nil value) to bool (unparam)
driveraker.go:122:26:warning: parameter cannot use s.Set(&r.key, &r.path) (value of type bool) as error value in assignment: missing method Error (unparam)
driveraker.go:48:14:warning: parameter undeclared name: strings (unparam)
driveraker.go:49:9:warning: parameter cannot declare relative - path (unparam)
driveraker.go:49:23:warning: parameter no new variables on left side of := (unparam)
driveraker.go:51:29:warning: parameter undeclared name: relative (unparam)
driveraker.go:51:38:warning: parameter use of package path not in selector (unparam)
driveraker.go:201:12:warning: parameter undeclared name: intepret_drive_output (unparam)
driveraker.go:211:9:warning: parameter matches declared but not used (unparam)
driveraker.go:218:9:warning: parameter out declared but not used (unparam)
driveraker.go:258:1:warning: parameter missing return (unparam)
driveraker.go:261:16:warning: parameter invalid operation: m (variable of type *MarkdownFileRecord) has no field or method readLines (unparam)
driveraker.go:301:12:warning: parameter undeclared name: Index (unparam)
driveraker.go:302:23:warning: parameter invalid operation: regex (variable of type string) has no field or method MustCompile (unparam)
driveraker.go:308:17:warning: parameter result parameter value not in scope at return (unparam)
driveraker.go:303:17:warning: parameter inner declaration of var value []string (unparam)
driveraker.go:308:17:warning: parameter result parameter line_number not in scope at return (unparam)
driveraker.go:305:17:warning: parameter inner declaration of var line_number int (unparam)
driveraker.go:311:17:warning: parameter cannot convert "" (untyped string constant) to []string (unparam)
driveraker.go:303:17:warning: parameter value declared but not used (unparam)
driveraker.go:305:17:warning: parameter line_number declared but not used (unparam)
driveraker.go:342:19:warning: parameter no new variables on left side of := (unparam)
driveraker.go:364:50:warning: parameter invalid operation: markdownfile (variable of type *MarkdownFileRecord) has no field or method contents (unparam)
driveraker.go:369:20:warning: parameter undeclared name: Index (unparam)
driveraker.go:370:32:warning: parameter undeclared name: regex (unparam)
driveraker.go:385:43:warning: parameter undeclared name: regex (unparam)
driveraker.go:396:23:warning: parameter undeclared name: strings (unparam)
driveraker.go:397:23:warning: parameter undeclared name: strings (unparam)
driveraker.go:398:23:warning: parameter undeclared name: strings (unparam)
driveraker.go:402:20:warning: parameter undeclared name: strings (unparam)
driveraker.go:403:20:warning: parameter undeclared name: strings (unparam)
driveraker.go:404:20:warning: parameter undeclared name: strings (unparam)
driveraker.go:408:20:warning: parameter undeclared name: strings (unparam)
driveraker.go:409:20:warning: parameter undeclared name: strings (unparam)
driveraker.go:410:20:warning: parameter undeclared name: strings (unparam)
driveraker.go:418:20:warning: parameter undeclared name: strings (unparam)
driveraker.go:419:20:warning: parameter undeclared name: strings (unparam)
driveraker.go:420:20:warning: parameter undeclared name: strings (unparam)
driveraker.go:421:20:warning: parameter undeclared name: strings (unparam)
driveraker.go:422:20:warning: parameter undeclared name: strings (unparam)
driveraker.go:427:20:warning: parameter undeclared name: strings (unparam)
driveraker.go:428:20:warning: parameter undeclared name: strings (unparam)
driveraker.go:429:20:warning: parameter undeclared name: strings (unparam)
driveraker.go:430:20:warning: parameter undeclared name: strings (unparam)
driveraker.go:431:20:warning: parameter undeclared name: strings (unparam)
driveraker.go:438:23:warning: parameter undeclared name: strings (unparam)
driveraker.go:439:23:warning: parameter undeclared name: strings (unparam)
driveraker.go:440:23:warning: parameter undeclared name: strings (unparam)
driveraker.go:441:23:warning: parameter undeclared name: strings (unparam)
driveraker.go:445:20:warning: parameter undeclared name: strings (unparam)
driveraker.go:446:20:warning: parameter undeclared name: strings (unparam)
driveraker.go:447:20:warning: parameter undeclared name: strings (unparam)
driveraker.go:448:20:warning: parameter undeclared name: strings (unparam)
driveraker.go:455:1:warning: parameter (func(_, prod_dir string, use_hugo bool, wg *sync.WaitGroup) literal) (value of type func(_ string, prod_dir string, use_hugo bool, wg *sync.WaitGroup)) is not used (unparam)
driveraker.go:354:13:warning: parameter imagecaption declared but not used (unparam)
driveraker.go:348:9:warning: parameter out declared but not used (unparam)
driveraker.go:377:25:warning: parameter out declared but not used (unparam)
driveraker.go:49:9:warning: expected identifier on left side of := (and 3 more errors) (staticcheck)
driveraker.go:72:38:warning: undeclared name: ok (staticcheck)
driveraker.go:73:25:warning: undeclared name: u (staticcheck)
driveraker.go:74:24:warning: cannot convert nil (untyped nil value) to bool (staticcheck)
driveraker.go:76:16:warning: cannot use errors.New("Key not found") (value of type error) as bool value in return statement (staticcheck)
driveraker.go:72:12:warning: p declared but not used (staticcheck)
driveraker.go:72:15:warning: okay declared but not used (staticcheck)
driveraker.go:84:24:warning: cannot use errors.New("Key already exists") (value of type error) as bool value in return statement (staticcheck)
driveraker.go:88:16:warning: cannot convert nil (untyped nil value) to bool (staticcheck)
driveraker.go:94:32:warning: cannot use path (variable of type *string) as string value in argument to md5hash (staticcheck)
driveraker.go:94:38:warning: cannot use DriveSyncDirectory (variable of type *string) as string value in argument to md5hash (staticcheck)
driveraker.go:96:52:warning: cannot convert nil (untyped nil value) to bool (staticcheck)
driveraker.go:122:26:warning: cannot use s.Set(&r.key, &r.path) (value of type bool) as error value in assignment: missing method Error (staticcheck)
driveraker.go:48:14:warning: undeclared name: strings (staticcheck)
driveraker.go:49:9:warning: cannot declare relative - path (staticcheck)
driveraker.go:49:23:warning: no new variables on left side of := (staticcheck)
driveraker.go:51:29:warning: undeclared name: relative (staticcheck)
driveraker.go:51:38:warning: use of package path not in selector (staticcheck)
driveraker.go:201:12:warning: undeclared name: intepret_drive_output (staticcheck)
driveraker.go:211:9:warning: matches declared but not used (staticcheck)
driveraker.go:218:9:warning: out declared but not used (staticcheck)
driveraker.go:258:1:warning: missing return (staticcheck)
driveraker.go:261:16:warning: invalid operation: m (variable of type *MarkdownFileRecord) has no field or method readLines (staticcheck)
driveraker.go:301:12:warning: undeclared name: Index (staticcheck)
driveraker.go:302:23:warning: invalid operation: regex (variable of type string) has no field or method MustCompile (staticcheck)
driveraker.go:308:17:warning: result parameter value not in scope at return (staticcheck)
driveraker.go:303:17:warning: inner declaration of var value []string (staticcheck)
driveraker.go:308:17:warning: result parameter line_number not in scope at return (staticcheck)
driveraker.go:305:17:warning: inner declaration of var line_number int (staticcheck)
driveraker.go:311:17:warning: cannot convert "" (untyped string constant) to []string (staticcheck)
driveraker.go:303:17:warning: value declared but not used (staticcheck)
driveraker.go:305:17:warning: line_number declared but not used (staticcheck)
driveraker.go:342:19:warning: no new variables on left side of := (staticcheck)
driveraker.go:364:50:warning: invalid operation: markdownfile (variable of type *MarkdownFileRecord) has no field or method contents (staticcheck)
driveraker.go:369:20:warning: undeclared name: Index (staticcheck)
driveraker.go:370:32:warning: undeclared name: regex (staticcheck)
driveraker.go:385:43:warning: undeclared name: regex (staticcheck)
driveraker.go:396:23:warning: undeclared name: strings (staticcheck)
driveraker.go:397:23:warning: undeclared name: strings (staticcheck)
driveraker.go:398:23:warning: undeclared name: strings (staticcheck)
driveraker.go:402:20:warning: undeclared name: strings (staticcheck)
driveraker.go:403:20:warning: undeclared name: strings (staticcheck)
driveraker.go:404:20:warning: undeclared name: strings (staticcheck)
driveraker.go:408:20:warning: undeclared name: strings (staticcheck)
driveraker.go:409:20:warning: undeclared name: strings (staticcheck)
driveraker.go:410:20:warning: undeclared name: strings (staticcheck)
driveraker.go:418:20:warning: undeclared name: strings (staticcheck)
driveraker.go:419:20:warning: undeclared name: strings (staticcheck)
driveraker.go:420:20:warning: undeclared name: strings (staticcheck)
driveraker.go:421:20:warning: undeclared name: strings (staticcheck)
driveraker.go:422:20:warning: undeclared name: strings (staticcheck)
driveraker.go:427:20:warning: undeclared name: strings (staticcheck)
driveraker.go:428:20:warning: undeclared name: strings (staticcheck)
driveraker.go:429:20:warning: undeclared name: strings (staticcheck)
driveraker.go:430:20:warning: undeclared name: strings (staticcheck)
driveraker.go:431:20:warning: undeclared name: strings (staticcheck)
driveraker.go:438:23:warning: undeclared name: strings (staticcheck)
driveraker.go:439:23:warning: undeclared name: strings (staticcheck)
driveraker.go:440:23:warning: undeclared name: strings (staticcheck)
driveraker.go:441:23:warning: undeclared name: strings (staticcheck)
driveraker.go:445:20:warning: undeclared name: strings (staticcheck)
driveraker.go:446:20:warning: undeclared name: strings (staticcheck)
driveraker.go:447:20:warning: undeclared name: strings (staticcheck)
driveraker.go:448:20:warning: undeclared name: strings (staticcheck)
driveraker.go:455:1:warning: (func(_, prod_dir string, use_hugo bool, wg *sync.WaitGroup) literal) (value of type func(_ string, prod_dir string, use_hugo bool, wg *sync.WaitGroup)) is not used (staticcheck)
driveraker.go:348:9:warning: out declared but not used (staticcheck)
driveraker.go:354:13:warning: imagecaption declared but not used (staticcheck)
driveraker.go:377:25:warning: out declared but not used (staticcheck)
driveraker.go:49:9:warning: error return value not checked (expected identifier on left side of := (and 3 more errors)) (errcheck)
driveraker.go:72:38:warning: error return value not checked (undeclared name: ok) (errcheck)
driveraker.go:73:25:warning: error return value not checked (undeclared name: u) (errcheck)
driveraker.go:74:24:warning: error return value not checked (cannot convert nil (untyped nil value) to bool) (errcheck)
driveraker.go:76:16:warning: error return value not checked (cannot use errors.New("Key not found") (value of type error) as bool value in return statement) (errcheck)
driveraker.go:72:12:warning: error return value not checked (p declared but not used) (errcheck)
driveraker.go:72:15:warning: error return value not checked (okay declared but not used) (errcheck)
driveraker.go:84:24:warning: error return value not checked (cannot use errors.New("Key already exists") (value of type error) as bool value in return statement) (errcheck)
driveraker.go:88:16:warning: error return value not checked (cannot convert nil (untyped nil value) to bool) (errcheck)
driveraker.go:94:32:warning: error return value not checked (cannot use path (variable of type *string) as string value in argument to md5hash) (errcheck)
driveraker.go:94:38:warning: error return value not checked (cannot use DriveSyncDirectory (variable of type *string) as string value in argument to md5hash) (errcheck)
driveraker.go:96:52:warning: error return value not checked (cannot convert nil (untyped nil value) to bool) (errcheck)
driveraker.go:122:26:warning: error return value not checked (cannot use s.Set(&r.key, &r.path) (value of type bool) as error value in assignment: missing method Error) (errcheck)
driveraker.go:48:14:warning: error return value not checked (undeclared name: strings) (errcheck)
driveraker.go:49:9:warning: error return value not checked (cannot declare relative - path) (errcheck)
driveraker.go:49:23:warning: error return value not checked (no new variables on left side of :=) (errcheck)
driveraker.go:51:29:warning: error return value not checked (undeclared name: relative) (errcheck)
driveraker.go:51:38:warning: error return value not checked (use of package path not in selector) (errcheck)
driveraker.go:201:12:warning: error return value not checked (undeclared name: intepret_drive_output) (errcheck)
driveraker.go:211:9:warning: error return value not checked (matches declared but not used) (errcheck)
driveraker.go:218:9:warning: error return value not checked (out declared but not used) (errcheck)
driveraker.go:258:1:warning: error return value not checked (missing return) (errcheck)
driveraker.go:261:16:warning: error return value not checked (invalid operation: m (variable of type *MarkdownFileRecord) has no field or method readLines) (errcheck)
driveraker.go:301:12:warning: error return value not checked (undeclared name: Index) (errcheck)
driveraker.go:302:23:warning: error return value not checked (invalid operation: regex (variable of type string) has no field or method MustCompile) (errcheck)
driveraker.go:308:17:warning: error return value not checked (result parameter value not in scope at return) (errcheck)
driveraker.go:303:17:warning: error return value not checked (inner declaration of var value []string) (errcheck)
driveraker.go:308:17:warning: error return value not checked (result parameter line_number not in scope at return) (errcheck)
driveraker.go:305:17:warning: error return value not checked (inner declaration of var line_number int) (errcheck)
driveraker.go:311:17:warning: error return value not checked (cannot convert "" (untyped string constant) to []string) (errcheck)
driveraker.go:303:17:warning: error return value not checked (value declared but not used) (errcheck)
driveraker.go:305:17:warning: error return value not checked (line_number declared but not used) (errcheck)
driveraker.go:342:19:warning: error return value not checked (no new variables on left side of :=) (errcheck)
driveraker.go:364:50:warning: error return value not checked (invalid operation: markdownfile (variable of type *MarkdownFileRecord) has no field or method contents) (errcheck)
driveraker.go:369:20:warning: error return value not checked (undeclared name: Index) (errcheck)
driveraker.go:370:32:warning: error return value not checked (undeclared name: regex) (errcheck)
driveraker.go:385:43:warning: error return value not checked (undeclared name: regex) (errcheck)
driveraker.go:396:23:warning: error return value not checked (undeclared name: strings) (errcheck)
driveraker.go:397:23:warning: error return value not checked (undeclared name: strings) (errcheck)
driveraker.go:398:23:warning: error return value not checked (undeclared name: strings) (errcheck)
driveraker.go:402:20:warning: error return value not checked (undeclared name: strings) (errcheck)
driveraker.go:403:20:warning: error return value not checked (undeclared name: strings) (errcheck)
driveraker.go:404:20:warning: error return value not checked (undeclared name: strings) (errcheck)
driveraker.go:408:20:warning: error return value not checked (undeclared name: strings) (errcheck)
driveraker.go:409:20:warning: error return value not checked (undeclared name: strings) (errcheck)
driveraker.go:410:20:warning: error return value not checked (undeclared name: strings) (errcheck)
driveraker.go:418:20:warning: error return value not checked (undeclared name: strings) (errcheck)
driveraker.go:419:20:warning: error return value not checked (undeclared name: strings) (errcheck)
driveraker.go:420:20:warning: error return value not checked (undeclared name: strings) (errcheck)
driveraker.go:421:20:warning: error return value not checked (undeclared name: strings) (errcheck)
driveraker.go:422:20:warning: error return value not checked (undeclared name: strings) (errcheck)
driveraker.go:427:20:warning: error return value not checked (undeclared name: strings) (errcheck)
driveraker.go:428:20:warning: error return value not checked (undeclared name: strings) (errcheck)
driveraker.go:429:20:warning: error return value not checked (undeclared name: strings) (errcheck)
driveraker.go:430:20:warning: error return value not checked (undeclared name: strings) (errcheck)
driveraker.go:431:20:warning: error return value not checked (undeclared name: strings) (errcheck)
driveraker.go:438:23:warning: error return value not checked (undeclared name: strings) (errcheck)
driveraker.go:439:23:warning: error return value not checked (undeclared name: strings) (errcheck)
driveraker.go:440:23:warning: error return value not checked (undeclared name: strings) (errcheck)
driveraker.go:441:23:warning: error return value not checked (undeclared name: strings) (errcheck)
driveraker.go:445:20:warning: error return value not checked (undeclared name: strings) (errcheck)
driveraker.go:446:20:warning: error return value not checked (undeclared name: strings) (errcheck)
driveraker.go:447:20:warning: error return value not checked (undeclared name: strings) (errcheck)
driveraker.go:448:20:warning: error return value not checked (undeclared name: strings) (errcheck)
driveraker.go:455:1:warning: error return value not checked ((func(_, prod_dir string, use_hugo bool, wg *sync.WaitGroup) literal) (value of type func(_ string, prod_dir string, use_hugo bool, wg *sync.WaitGroup)) is not used) (errcheck)
driveraker.go:348:9:warning: error return value not checked (out declared but not used) (errcheck)
driveraker.go:354:13:warning: error return value not checked (imagecaption declared but not used) (errcheck)
driveraker.go:377:25:warning: error return value not checked (out declared but not used) (errcheck)
driveraker.go:49:9:warning: expected identifier on left side of := (and 3 more errors) (unconvert)
driveraker.go:72:38:warning: undeclared name: ok (unconvert)
driveraker.go:73:25:warning: undeclared name: u (unconvert)
driveraker.go:74:24:warning: cannot convert nil (untyped nil value) to bool (unconvert)
driveraker.go:76:16:warning: cannot use errors.New("Key not found") (value of type error) as bool value in return statement (unconvert)
driveraker.go:72:12:warning: p declared but not used (unconvert)
driveraker.go:72:15:warning: okay declared but not used (unconvert)
driveraker.go:84:24:warning: cannot use errors.New("Key already exists") (value of type error) as bool value in return statement (unconvert)
driveraker.go:88:16:warning: cannot convert nil (untyped nil value) to bool (unconvert)
driveraker.go:94:32:warning: cannot use path (variable of type *string) as string value in argument to md5hash (unconvert)
driveraker.go:94:38:warning: cannot use DriveSyncDirectory (variable of type *string) as string value in argument to md5hash (unconvert)
driveraker.go:96:52:warning: cannot convert nil (untyped nil value) to bool (unconvert)
driveraker.go:122:26:warning: cannot use s.Set(&r.key, &r.path) (value of type bool) as error value in assignment: missing method Error (unconvert)
driveraker.go:48:14:warning: undeclared name: strings (unconvert)
driveraker.go:49:9:warning: cannot declare relative - path (unconvert)
driveraker.go:49:23:warning: no new variables on left side of := (unconvert)
driveraker.go:51:29:warning: undeclared name: relative (unconvert)
driveraker.go:51:38:warning: use of package path not in selector (unconvert)
driveraker.go:201:12:warning: undeclared name: intepret_drive_output (unconvert)
driveraker.go:211:9:warning: matches declared but not used (unconvert)
driveraker.go:218:9:warning: out declared but not used (unconvert)
driveraker.go:258:1:warning: missing return (unconvert)
driveraker.go:261:16:warning: invalid operation: m (variable of type *MarkdownFileRecord) has no field or method readLines (unconvert)
driveraker.go:301:12:warning: undeclared name: Index (unconvert)
driveraker.go:302:23:warning: invalid operation: regex (variable of type string) has no field or method MustCompile (unconvert)
driveraker.go:308:17:warning: result parameter value not in scope at return (unconvert)
driveraker.go:303:17:warning: inner declaration of var value []string (unconvert)
driveraker.go:308:17:warning: result parameter line_number not in scope at return (unconvert)
driveraker.go:305:17:warning: inner declaration of var line_number int (unconvert)
driveraker.go:311:17:warning: cannot convert "" (untyped string constant) to []string (unconvert)
driveraker.go:303:17:warning: value declared but not used (unconvert)
driveraker.go:305:17:warning: line_number declared but not used (unconvert)
driveraker.go:342:19:warning: no new variables on left side of := (unconvert)
driveraker.go:364:50:warning: invalid operation: markdownfile (variable of type *MarkdownFileRecord) has no field or method contents (unconvert)
driveraker.go:369:20:warning: undeclared name: Index (unconvert)
driveraker.go:370:32:warning: undeclared name: regex (unconvert)
driveraker.go:385:43:warning: undeclared name: regex (unconvert)
driveraker.go:396:23:warning: undeclared name: strings (unconvert)
driveraker.go:397:23:warning: undeclared name: strings (unconvert)
driveraker.go:398:23:warning: undeclared name: strings (unconvert)
driveraker.go:402:20:warning: undeclared name: strings (unconvert)
driveraker.go:403:20:warning: undeclared name: strings (unconvert)
driveraker.go:404:20:warning: undeclared name: strings (unconvert)
driveraker.go:408:20:warning: undeclared name: strings (unconvert)
driveraker.go:409:20:warning: undeclared name: strings (unconvert)
driveraker.go:410:20:warning: undeclared name: strings (unconvert)
driveraker.go:418:20:warning: undeclared name: strings (unconvert)
driveraker.go:419:20:warning: undeclared name: strings (unconvert)
driveraker.go:420:20:warning: undeclared name: strings (unconvert)
driveraker.go:421:20:warning: undeclared name: strings (unconvert)
driveraker.go:422:20:warning: undeclared name: strings (unconvert)
driveraker.go:427:20:warning: undeclared name: strings (unconvert)
driveraker.go:428:20:warning: undeclared name: strings (unconvert)
driveraker.go:429:20:warning: undeclared name: strings (unconvert)
driveraker.go:430:20:warning: undeclared name: strings (unconvert)
driveraker.go:431:20:warning: undeclared name: strings (unconvert)
driveraker.go:438:23:warning: undeclared name: strings (unconvert)
driveraker.go:439:23:warning: undeclared name: strings (unconvert)
driveraker.go:440:23:warning: undeclared name: strings (unconvert)
driveraker.go:441:23:warning: undeclared name: strings (unconvert)
driveraker.go:445:20:warning: undeclared name: strings (unconvert)
driveraker.go:446:20:warning: undeclared name: strings (unconvert)
driveraker.go:447:20:warning: undeclared name: strings (unconvert)
driveraker.go:448:20:warning: undeclared name: strings (unconvert)
driveraker.go:455:1:warning: (func(_, prod_dir string, use_hugo bool, wg *sync.WaitGroup) literal) (value of type func(_ string, prod_dir string, use_hugo bool, wg *sync.WaitGroup)) is not used (unconvert)
driveraker.go:354:13:warning: imagecaption declared but not used (unconvert)
driveraker.go:348:9:warning: out declared but not used (unconvert)
driveraker.go:377:25:warning: out declared but not used (unconvert)
driveraker.go:49:9:warning: unused variable or constant expected identifier on left side of := (and 3 more errors) (varcheck)
driveraker.go:72:38:warning: unused variable or constant undeclared name: ok (varcheck)
driveraker.go:73:25:warning: unused variable or constant undeclared name: u (varcheck)
driveraker.go:74:24:warning: unused variable or constant cannot convert nil (untyped nil value) to bool (varcheck)
driveraker.go:76:16:warning: unused variable or constant cannot use errors.New("Key not found") (value of type error) as bool value in return statement (varcheck)
driveraker.go:72:12:warning: unused variable or constant p declared but not used (varcheck)
driveraker.go:72:15:warning: unused variable or constant okay declared but not used (varcheck)
driveraker.go:84:24:warning: unused variable or constant cannot use errors.New("Key already exists") (value of type error) as bool value in return statement (varcheck)
driveraker.go:88:16:warning: unused variable or constant cannot convert nil (untyped nil value) to bool (varcheck)
driveraker.go:94:32:warning: unused variable or constant cannot use path (variable of type *string) as string value in argument to md5hash (varcheck)
driveraker.go:94:38:warning: unused variable or constant cannot use DriveSyncDirectory (variable of type *string) as string value in argument to md5hash (varcheck)
driveraker.go:96:52:warning: unused variable or constant cannot convert nil (untyped nil value) to bool (varcheck)
driveraker.go:122:26:warning: unused variable or constant cannot use s.Set(&r.key, &r.path) (value of type bool) as error value in assignment: missing method Error (varcheck)
driveraker.go:48:14:warning: unused variable or constant undeclared name: strings (varcheck)
driveraker.go:49:9:warning: unused variable or constant cannot declare relative - path (varcheck)
driveraker.go:49:23:warning: unused variable or constant no new variables on left side of := (varcheck)
driveraker.go:51:29:warning: unused variable or constant undeclared name: relative (varcheck)
driveraker.go:51:38:warning: unused variable or constant use of package path not in selector (varcheck)
driveraker.go:201:12:warning: unused variable or constant undeclared name: intepret_drive_output (varcheck)
driveraker.go:211:9:warning: unused variable or constant matches declared but not used (varcheck)
driveraker.go:218:9:warning: unused variable or constant out declared but not used (varcheck)
driveraker.go:258:1:warning: unused variable or constant missing return (varcheck)
driveraker.go:261:16:warning: unused variable or constant invalid operation: m (variable of type *MarkdownFileRecord) has no field or method readLines (varcheck)
driveraker.go:301:12:warning: unused variable or constant undeclared name: Index (varcheck)
driveraker.go:302:23:warning: unused variable or constant invalid operation: regex (variable of type string) has no field or method MustCompile (varcheck)
driveraker.go:308:17:warning: unused variable or constant result parameter value not in scope at return (varcheck)
driveraker.go:303:17:warning: unused variable or constant inner declaration of var value []string (varcheck)
driveraker.go:308:17:warning: unused variable or constant result parameter line_number not in scope at return (varcheck)
driveraker.go:305:17:warning: unused variable or constant inner declaration of var line_number int (varcheck)
driveraker.go:311:17:warning: unused variable or constant cannot convert "" (untyped string constant) to []string (varcheck)
driveraker.go:303:17:warning: unused variable or constant value declared but not used (varcheck)
driveraker.go:305:17:warning: unused variable or constant line_number declared but not used (varcheck)
driveraker.go:342:19:warning: unused variable or constant no new variables on left side of := (varcheck)
driveraker.go:364:50:warning: unused variable or constant invalid operation: markdownfile (variable of type *MarkdownFileRecord) has no field or method contents (varcheck)
driveraker.go:369:20:warning: unused variable or constant undeclared name: Index (varcheck)
driveraker.go:370:32:warning: unused variable or constant undeclared name: regex (varcheck)
driveraker.go:385:43:warning: unused variable or constant undeclared name: regex (varcheck)
driveraker.go:396:23:warning: unused variable or constant undeclared name: strings (varcheck)
driveraker.go:397:23:warning: unused variable or constant undeclared name: strings (varcheck)
driveraker.go:398:23:warning: unused variable or constant undeclared name: strings (varcheck)
driveraker.go:402:20:warning: unused variable or constant undeclared name: strings (varcheck)
driveraker.go:403:20:warning: unused variable or constant undeclared name: strings (varcheck)
driveraker.go:404:20:warning: unused variable or constant undeclared name: strings (varcheck)
driveraker.go:408:20:warning: unused variable or constant undeclared name: strings (varcheck)
driveraker.go:409:20:warning: unused variable or constant undeclared name: strings (varcheck)
driveraker.go:410:20:warning: unused variable or constant undeclared name: strings (varcheck)
driveraker.go:418:20:warning: unused variable or constant undeclared name: strings (varcheck)
driveraker.go:419:20:warning: unused variable or constant undeclared name: strings (varcheck)
driveraker.go:420:20:warning: unused variable or constant undeclared name: strings (varcheck)
driveraker.go:421:20:warning: unused variable or constant undeclared name: strings (varcheck)
driveraker.go:422:20:warning: unused variable or constant undeclared name: strings (varcheck)
driveraker.go:427:20:warning: unused variable or constant undeclared name: strings (varcheck)
driveraker.go:428:20:warning: unused variable or constant undeclared name: strings (varcheck)
driveraker.go:429:20:warning: unused variable or constant undeclared name: strings (varcheck)
driveraker.go:430:20:warning: unused variable or constant undeclared name: strings (varcheck)
driveraker.go:431:20:warning: unused variable or constant undeclared name: strings (varcheck)
driveraker.go:438:23:warning: unused variable or constant undeclared name: strings (varcheck)
driveraker.go:439:23:warning: unused variable or constant undeclared name: strings (varcheck)
driveraker.go:440:23:warning: unused variable or constant undeclared name: strings (varcheck)
driveraker.go:441:23:warning: unused variable or constant undeclared name: strings (varcheck)
driveraker.go:445:20:warning: unused variable or constant undeclared name: strings (varcheck)
driveraker.go:446:20:warning: unused variable or constant undeclared name: strings (varcheck)
driveraker.go:447:20:warning: unused variable or constant undeclared name: strings (varcheck)
driveraker.go:448:20:warning: unused variable or constant undeclared name: strings (varcheck)
driveraker.go:455:1:warning: unused variable or constant (func(_, prod_dir string, use_hugo bool, wg *sync.WaitGroup) literal) (value of type func(_ string, prod_dir string, use_hugo bool, wg *sync.WaitGroup)) is not used (varcheck)
driveraker.go:348:9:warning: unused variable or constant out declared but not used (varcheck)
driveraker.go:354:13:warning: unused variable or constant imagecaption declared but not used (varcheck)
driveraker.go:377:25:warning: unused variable or constant out declared but not used (varcheck)
driveraker.go:49:9:warning: expected identifier on left side of := (and 3 more errors) (aligncheck)
driveraker.go:72:38:warning: undeclared name: ok (aligncheck)
driveraker.go:73:25:warning: undeclared name: u (aligncheck)
driveraker.go:74:24:warning: cannot convert nil (untyped nil value) to bool (aligncheck)
driveraker.go:76:16:warning: cannot use errors.New("Key not found") (value of type error) as bool value in return statement (aligncheck)
driveraker.go:72:12:warning: p declared but not used (aligncheck)
driveraker.go:72:15:warning: okay declared but not used (aligncheck)
driveraker.go:84:24:warning: cannot use errors.New("Key already exists") (value of type error) as bool value in return statement (aligncheck)
driveraker.go:88:16:warning: cannot convert nil (untyped nil value) to bool (aligncheck)
driveraker.go:94:32:warning: cannot use path (variable of type *string) as string value in argument to md5hash (aligncheck)
driveraker.go:94:38:warning: cannot use DriveSyncDirectory (variable of type *string) as string value in argument to md5hash (aligncheck)
driveraker.go:96:52:warning: cannot convert nil (untyped nil value) to bool (aligncheck)
driveraker.go:122:26:warning: cannot use s.Set(&r.key, &r.path) (value of type bool) as error value in assignment: missing method Error (aligncheck)
driveraker.go:48:14:warning: undeclared name: strings (aligncheck)
driveraker.go:49:9:warning: cannot declare relative - path (aligncheck)
driveraker.go:49:23:warning: no new variables on left side of := (aligncheck)
driveraker.go:51:29:warning: undeclared name: relative (aligncheck)
driveraker.go:51:38:warning: use of package path not in selector (aligncheck)
driveraker.go:201:12:warning: undeclared name: intepret_drive_output (aligncheck)
driveraker.go:211:9:warning: matches declared but not used (aligncheck)
driveraker.go:218:9:warning: out declared but not used (aligncheck)
driveraker.go:258:1:warning: missing return (aligncheck)
driveraker.go:261:16:warning: invalid operation: m (variable of type *MarkdownFileRecord) has no field or method readLines (aligncheck)
driveraker.go:301:12:warning: undeclared name: Index (aligncheck)
driveraker.go:302:23:warning: invalid operation: regex (variable of type string) has no field or method MustCompile (aligncheck)
driveraker.go:308:17:warning: result parameter value not in scope at return (aligncheck)
driveraker.go:303:17:warning: inner declaration of var value []string (aligncheck)
driveraker.go:308:17:warning: result parameter line_number not in scope at return (aligncheck)
driveraker.go:305:17:warning: inner declaration of var line_number int (aligncheck)
driveraker.go:311:17:warning: cannot convert "" (untyped string constant) to []string (aligncheck)
driveraker.go:303:17:warning: value declared but not used (aligncheck)
driveraker.go:305:17:warning: line_number declared but not used (aligncheck)
driveraker.go:342:19:warning: no new variables on left side of := (aligncheck)
driveraker.go:364:50:warning: invalid operation: markdownfile (variable of type *MarkdownFileRecord) has no field or method contents (aligncheck)
driveraker.go:369:20:warning: undeclared name: Index (aligncheck)
driveraker.go:370:32:warning: undeclared name: regex (aligncheck)
driveraker.go:385:43:warning: undeclared name: regex (aligncheck)
driveraker.go:396:23:warning: undeclared name: strings (aligncheck)
driveraker.go:397:23:warning: undeclared name: strings (aligncheck)
driveraker.go:398:23:warning: undeclared name: strings (aligncheck)
driveraker.go:402:20:warning: undeclared name: strings (aligncheck)
driveraker.go:403:20:warning: undeclared name: strings (aligncheck)
driveraker.go:404:20:warning: undeclared name: strings (aligncheck)
driveraker.go:408:20:warning: undeclared name: strings (aligncheck)
driveraker.go:409:20:warning: undeclared name: strings (aligncheck)
driveraker.go:410:20:warning: undeclared name: strings (aligncheck)
driveraker.go:418:20:warning: undeclared name: strings (aligncheck)
driveraker.go:419:20:warning: undeclared name: strings (aligncheck)
driveraker.go:420:20:warning: undeclared name: strings (aligncheck)
driveraker.go:421:20:warning: undeclared name: strings (aligncheck)
driveraker.go:422:20:warning: undeclared name: strings (aligncheck)
driveraker.go:427:20:warning: undeclared name: strings (aligncheck)
driveraker.go:428:20:warning: undeclared name: strings (aligncheck)
driveraker.go:429:20:warning: undeclared name: strings (aligncheck)
driveraker.go:430:20:warning: undeclared name: strings (aligncheck)
driveraker.go:431:20:warning: undeclared name: strings (aligncheck)
driveraker.go:438:23:warning: undeclared name: strings (aligncheck)
driveraker.go:439:23:warning: undeclared name: strings (aligncheck)
driveraker.go:440:23:warning: undeclared name: strings (aligncheck)
driveraker.go:441:23:warning: undeclared name: strings (aligncheck)
driveraker.go:445:20:warning: undeclared name: strings (aligncheck)
driveraker.go:446:20:warning: undeclared name: strings (aligncheck)
driveraker.go:447:20:warning: undeclared name: strings (aligncheck)
driveraker.go:448:20:warning: undeclared name: strings (aligncheck)
driveraker.go:455:1:warning: (func(_, prod_dir string, use_hugo bool, wg *sync.WaitGroup) literal) (value of type func(_ string, prod_dir string, use_hugo bool, wg *sync.WaitGroup)) is not used (aligncheck)
driveraker.go:354:13:warning: imagecaption declared but not used (aligncheck)
driveraker.go:348:9:warning: out declared but not used (aligncheck)
driveraker.go:377:25:warning: out declared but not used (aligncheck)
driveraker.go:49:9:warning: expected identifier on left side of := (and 3 more errors) (gosimple)
driveraker.go:72:38:warning: undeclared name: ok (gosimple)
driveraker.go:73:25:warning: undeclared name: u (gosimple)
driveraker.go:74:24:warning: cannot convert nil (untyped nil value) to bool (gosimple)
driveraker.go:76:16:warning: cannot use errors.New("Key not found") (value of type error) as bool value in return statement (gosimple)
driveraker.go:72:15:warning: okay declared but not used (gosimple)
driveraker.go:72:12:warning: p declared but not used (gosimple)
driveraker.go:84:24:warning: cannot use errors.New("Key already exists") (value of type error) as bool value in return statement (gosimple)
driveraker.go:88:16:warning: cannot convert nil (untyped nil value) to bool (gosimple)
driveraker.go:94:32:warning: cannot use path (variable of type *string) as string value in argument to md5hash (gosimple)
driveraker.go:94:38:warning: cannot use DriveSyncDirectory (variable of type *string) as string value in argument to md5hash (gosimple)
driveraker.go:96:52:warning: cannot convert nil (untyped nil value) to bool (gosimple)
driveraker.go:122:26:warning: cannot use s.Set(&r.key, &r.path) (value of type bool) as error value in assignment: missing method Error (gosimple)
driveraker.go:48:14:warning: undeclared name: strings (gosimple)
driveraker.go:49:9:warning: cannot declare relative - path (gosimple)
driveraker.go:49:23:warning: no new variables on left side of := (gosimple)
driveraker.go:51:29:warning: undeclared name: relative (gosimple)
driveraker.go:51:38:warning: use of package path not in selector (gosimple)
driveraker.go:201:12:warning: undeclared name: intepret_drive_output (gosimple)
driveraker.go:211:9:warning: matches declared but not used (gosimple)
driveraker.go:218:9:warning: out declared but not used (gosimple)
driveraker.go:258:1:warning: missing return (gosimple)
driveraker.go:261:16:warning: invalid operation: m (variable of type *MarkdownFileRecord) has no field or method readLines (gosimple)
driveraker.go:301:12:warning: undeclared name: Index (gosimple)
driveraker.go:302:23:warning: invalid operation: regex (variable of type string) has no field or method MustCompile (gosimple)
driveraker.go:308:17:warning: result parameter value not in scope at return (gosimple)
driveraker.go:303:17:warning: inner declaration of var value []string (gosimple)
driveraker.go:308:17:warning: result parameter line_number not in scope at return (gosimple)
driveraker.go:305:17:warning: inner declaration of var line_number int (gosimple)
driveraker.go:311:17:warning: cannot convert "" (untyped string constant) to []string (gosimple)
driveraker.go:303:17:warning: value declared but not used (gosimple)
driveraker.go:305:17:warning: line_number declared but not used (gosimple)
driveraker.go:342:19:warning: no new variables on left side of := (gosimple)
driveraker.go:364:50:warning: invalid operation: markdownfile (variable of type *MarkdownFileRecord) has no field or method contents (gosimple)
driveraker.go:369:20:warning: undeclared name: Index (gosimple)
driveraker.go:370:32:warning: undeclared name: regex (gosimple)
driveraker.go:385:43:warning: undeclared name: regex (gosimple)
driveraker.go:396:23:warning: undeclared name: strings (gosimple)
driveraker.go:397:23:warning: undeclared name: strings (gosimple)
driveraker.go:398:23:warning: undeclared name: strings (gosimple)
driveraker.go:402:20:warning: undeclared name: strings (gosimple)
driveraker.go:403:20:warning: undeclared name: strings (gosimple)
driveraker.go:404:20:warning: undeclared name: strings (gosimple)
driveraker.go:408:20:warning: undeclared name: strings (gosimple)
driveraker.go:409:20:warning: undeclared name: strings (gosimple)
driveraker.go:410:20:warning: undeclared name: strings (gosimple)
driveraker.go:418:20:warning: undeclared name: strings (gosimple)
driveraker.go:419:20:warning: undeclared name: strings (gosimple)
driveraker.go:420:20:warning: undeclared name: strings (gosimple)
driveraker.go:421:20:warning: undeclared name: strings (gosimple)
driveraker.go:422:20:warning: undeclared name: strings (gosimple)
driveraker.go:427:20:warning: undeclared name: strings (gosimple)
driveraker.go:428:20:warning: undeclared name: strings (gosimple)
driveraker.go:429:20:warning: undeclared name: strings (gosimple)
driveraker.go:430:20:warning: undeclared name: strings (gosimple)
driveraker.go:431:20:warning: undeclared name: strings (gosimple)
driveraker.go:438:23:warning: undeclared name: strings (gosimple)
driveraker.go:439:23:warning: undeclared name: strings (gosimple)
driveraker.go:440:23:warning: undeclared name: strings (gosimple)
driveraker.go:441:23:warning: undeclared name: strings (gosimple)
driveraker.go:445:20:warning: undeclared name: strings (gosimple)
driveraker.go:446:20:warning: undeclared name: strings (gosimple)
driveraker.go:447:20:warning: undeclared name: strings (gosimple)
driveraker.go:448:20:warning: undeclared name: strings (gosimple)
driveraker.go:455:1:warning: (func(_, prod_dir string, use_hugo bool, wg *sync.WaitGroup) literal) (value of type func(_ string, prod_dir string, use_hugo bool, wg *sync.WaitGroup)) is not used (gosimple)
driveraker.go:354:13:warning: imagecaption declared but not used (gosimple)
driveraker.go:348:9:warning: out declared but not used (gosimple)
driveraker.go:377:25:warning: out declared but not used (gosimple)
driveraker.go:49:9:warning: expected identifier on left side of := (and 3 more errors) (unused)
driveraker.go:72:38:warning: undeclared name: ok (unused)
driveraker.go:73:25:warning: undeclared name: u (unused)
driveraker.go:74:24:warning: cannot convert nil (untyped nil value) to bool (unused)
driveraker.go:76:16:warning: cannot use errors.New("Key not found") (value of type error) as bool value in return statement (unused)
driveraker.go:72:12:warning: p declared but not used (unused)
driveraker.go:72:15:warning: okay declared but not used (unused)
driveraker.go:84:24:warning: cannot use errors.New("Key already exists") (value of type error) as bool value in return statement (unused)
driveraker.go:88:16:warning: cannot convert nil (untyped nil value) to bool (unused)
driveraker.go:94:32:warning: cannot use path (variable of type *string) as string value in argument to md5hash (unused)
driveraker.go:94:38:warning: cannot use DriveSyncDirectory (variable of type *string) as string value in argument to md5hash (unused)
driveraker.go:96:52:warning: cannot convert nil (untyped nil value) to bool (unused)
driveraker.go:122:26:warning: cannot use s.Set(&r.key, &r.path) (value of type bool) as error value in assignment: missing method Error (unused)
driveraker.go:48:14:warning: undeclared name: strings (unused)
driveraker.go:49:9:warning: cannot declare relative - path (unused)
driveraker.go:49:23:warning: no new variables on left side of := (unused)
driveraker.go:51:29:warning: undeclared name: relative (unused)
driveraker.go:51:38:warning: use of package path not in selector (unused)
driveraker.go:201:12:warning: undeclared name: intepret_drive_output (unused)
driveraker.go:211:9:warning: matches declared but not used (unused)
driveraker.go:218:9:warning: out declared but not used (unused)
driveraker.go:258:1:warning: missing return (unused)
driveraker.go:261:16:warning: invalid operation: m (variable of type *MarkdownFileRecord) has no field or method readLines (unused)
driveraker.go:301:12:warning: undeclared name: Index (unused)
driveraker.go:302:23:warning: invalid operation: regex (variable of type string) has no field or method MustCompile (unused)
driveraker.go:308:17:warning: result parameter value not in scope at return (unused)
driveraker.go:303:17:warning: inner declaration of var value []string (unused)
driveraker.go:308:17:warning: result parameter line_number not in scope at return (unused)
driveraker.go:305:17:warning: inner declaration of var line_number int (unused)
driveraker.go:311:17:warning: cannot convert "" (untyped string constant) to []string (unused)
driveraker.go:303:17:warning: value declared but not used (unused)
driveraker.go:305:17:warning: line_number declared but not used (unused)
driveraker.go:342:19:warning: no new variables on left side of := (unused)
driveraker.go:364:50:warning: invalid operation: markdownfile (variable of type *MarkdownFileRecord) has no field or method contents (unused)
driveraker.go:369:20:warning: undeclared name: Index (unused)
driveraker.go:370:32:warning: undeclared name: regex (unused)
driveraker.go:385:43:warning: undeclared name: regex (unused)
driveraker.go:396:23:warning: undeclared name: strings (unused)
driveraker.go:397:23:warning: undeclared name: strings (unused)
driveraker.go:398:23:warning: undeclared name: strings (unused)
driveraker.go:402:20:warning: undeclared name: strings (unused)
driveraker.go:403:20:warning: undeclared name: strings (unused)
driveraker.go:404:20:warning: undeclared name: strings (unused)
driveraker.go:408:20:warning: undeclared name: strings (unused)
driveraker.go:409:20:warning: undeclared name: strings (unused)
driveraker.go:410:20:warning: undeclared name: strings (unused)
driveraker.go:418:20:warning: undeclared name: strings (unused)
driveraker.go:419:20:warning: undeclared name: strings (unused)
driveraker.go:420:20:warning: undeclared name: strings (unused)
driveraker.go:421:20:warning: undeclared name: strings (unused)
driveraker.go:422:20:warning: undeclared name: strings (unused)
driveraker.go:427:20:warning: undeclared name: strings (unused)
driveraker.go:428:20:warning: undeclared name: strings (unused)
driveraker.go:429:20:warning: undeclared name: strings (unused)
driveraker.go:430:20:warning: undeclared name: strings (unused)
driveraker.go:431:20:warning: undeclared name: strings (unused)
driveraker.go:438:23:warning: undeclared name: strings (unused)
driveraker.go:439:23:warning: undeclared name: strings (unused)
driveraker.go:440:23:warning: undeclared name: strings (unused)
driveraker.go:441:23:warning: undeclared name: strings (unused)
driveraker.go:445:20:warning: undeclared name: strings (unused)
driveraker.go:446:20:warning: undeclared name: strings (unused)
driveraker.go:447:20:warning: undeclared name: strings (unused)
driveraker.go:448:20:warning: undeclared name: strings (unused)
driveraker.go:455:1:warning: (func(_, prod_dir string, use_hugo bool, wg *sync.WaitGroup) literal) (value of type func(_ string, prod_dir string, use_hugo bool, wg *sync.WaitGroup)) is not used (unused)
driveraker.go:348:9:warning: out declared but not used (unused)
driveraker.go:354:13:warning: imagecaption declared but not used (unused)
driveraker.go:377:25:warning: out declared but not used (unused)
➜ pre-commit run --all-files
go fmt...................................................................Passed
go build.................................................................Failed
hookid: go-build
os/user
_/home/deleuze/Documents/driveraker/src
go install _/home/deleuze/Documents/driveraker/src: build output "src" already exists and is a directory
go metalinter............................................................Failed
hookid: go-metalinter
src/driveraker.go:164:1:warning: comment on exported type Configuration should be of the form "Configuration ..." (with optional leading article) (golint)
src/driveraker.go:173:6:warning: don't use underscores in Go names; func read_cfg should be readCfg (golint)
src/driveraker.go:173:54:warning: don't use underscores in Go names; func parameter conf_message should be confMessage (golint)
src/driveraker.go:183:2:warning: don't use underscores in Go names; var drive_sync_dir should be driveSyncDir (golint)
src/driveraker.go:185:2:warning: don't use underscores in Go names; var drive_remote_dir should be driveRemoteDir (golint)
src/driveraker.go:187:2:warning: don't use underscores in Go names; var hugo_post_dir should be hugoPostDir (golint)
src/driveraker.go:189:2:warning: don't use underscores in Go names; var nginx_dir should be nginxDir (golint)
src/driveraker.go:198:6:warning: don't use underscores in Go names; func sync_google_drive should be syncGoogleDrive (golint)
src/driveraker.go:198:24:warning: don't use underscores in Go names; func parameter sync_dir should be syncDir (golint)
src/driveraker.go:198:41:warning: don't use underscores in Go names; func parameter drive_remote_dir should be driveRemoteDir (golint)
src/driveraker.go:198:66:warning: don't use underscores in Go names; func parameter drive_sync should be driveSync (golint)
src/driveraker.go:198:94:warning: don't use underscores in Go names; func parameter docx_paths_message should be docxPathsMessage (golint)
src/driveraker.go:199:2:warning: don't use underscores in Go names; var sync_gd should be syncGd (golint)
src/driveraker.go:201:2:warning: don't use underscores in Go names; var file_paths should be filePaths (golint)
src/driveraker.go:215:2:warning: don't use underscores in Go names; var docx_paths should be docxPaths (golint)
src/driveraker.go:222:6:warning: don't use underscores in Go names; func interpret_drive_output should be interpretDriveOutput (golint)
src/driveraker.go:222:29:warning: don't use underscores in Go names; func parameter sync_gd should be syncGd (golint)
src/driveraker.go:222:74:warning: don't use underscores in Go names; func parameter file_paths should be filePaths (golint)
src/driveraker.go:234:6:warning: don't use underscores in Go names; func convert_to_markdown_with_pandoc should be convertToMarkdownWithPandoc (golint)
src/driveraker.go:234:38:warning: don't use underscores in Go names; func parameter docx_file_path should be docxFilePath (golint)
src/driveraker.go:234:61:warning: don't use underscores in Go names; func parameter md_file_path should be mdFilePath (golint)
src/driveraker.go:245:1:warning: comment on exported type MarkdownFileRecord should be of the form "MarkdownFileRecord ..." (with optional leading article) (golint)
src/driveraker.go:254:1:warning: exported function NewMarkdownFile should have comment or be unexported (golint)
src/driveraker.go:279:1:warning: exported method MarkdownFileRecord.Prepend should have comment or be unexported (golint)
src/driveraker.go:305:39:warning: don't use underscores in Go names; func parameter md_file_path should be mdFilePath (golint)
src/driveraker.go:359:24:warning: don't use underscores in Go names; func parameter md_file_path should be mdFilePath (golint)
src/driveraker.go:379:56:warning: don't use underscores in Go names; func parameter md_file_path should be mdFilePath (golint)
src/driveraker.go:395:6:warning: don't use underscores in Go names; func regex_line_of_markdown should be regexLineOfMarkdown (golint)
src/driveraker.go:395:106:warning: don't use underscores in Go names; func result line_number should be lineNumber (golint)
src/driveraker.go:410:6:warning: don't use underscores in Go names; func read_markdown_write_hugo_headers should be readMarkdownWriteHugoHeaders (golint)
src/driveraker.go:410:39:warning: don't use underscores in Go names; func parameter md_file_path should be mdFilePath (golint)
src/driveraker.go:410:60:warning: don't use underscores in Go names; func parameter docx_file_path should be docxFilePath (golint)
src/driveraker.go:410:83:warning: don't use underscores in Go names; func parameter hugo_dir should be hugoDir (golint)
src/driveraker.go:410:100:warning: don't use underscores in Go names; func parameter nginx_dir should be nginxDir (golint)
src/driveraker.go:410:118:warning: don't use underscores in Go names; func parameter front_matter should be frontMatter (golint)
src/driveraker.go:424:2:warning: don't use underscores in Go names; var tag_list should be tagList (golint)
src/driveraker.go:433:2:warning: don't use underscores in Go names; var cat_list should be catList (golint)
src/driveraker.go:444:2:warning: don't use underscores in Go names; var pub_date should be pubDate (golint)
src/driveraker.go:455:2:warning: don't use underscores in Go names; var mod_date should be modDate (golint)
src/driveraker.go:467:2:warning: don't use underscores in Go names; var cover_image_path_before should be coverImagePathBefore (golint)
src/driveraker.go:469:2:warning: don't use underscores in Go names; var cover_image_path_after should be coverImagePathAfter (golint)
src/driveraker.go:471:2:warning: don't use underscores in Go names; var copy_cover_image should be copyCoverImage (golint)
src/driveraker.go:508:6:warning: don't use underscores in Go names; var author_names should be authorNames (golint)
src/driveraker.go:510:2:warning: don't use underscores in Go names; var author_list should be authorList (golint)
src/driveraker.go:550:4:warning: don't use underscores in Go names; var inline_image should be inlineImage (golint)
src/driveraker.go:551:4:warning: don't use underscores in Go names; var inline_image_path_before should be inlineImagePathBefore (golint)
src/driveraker.go:552:4:warning: don't use underscores in Go names; var inline_image_path_after should be inlineImagePathAfter (golint)
src/driveraker.go:553:4:warning: don't use underscores in Go names; var copy_image should be copyImage (golint)
src/driveraker.go:567:4:warning: don't use underscores in Go names; var regex_alt_text should be regexAltText (golint)
src/driveraker.go:568:4:warning: don't use underscores in Go names; var alt_texts should be altTexts (golint)
src/driveraker.go:569:4:warning: don't use underscores in Go names; var alt_text should be altText (golint)
src/driveraker.go:582:6:warning: don't use underscores in Go names; func compile_and_serve_hugo_site should be compileAndServeHugoSite (golint)
src/driveraker.go:582:34:warning: don't use underscores in Go names; func parameter hugo_dir should be hugoDir (golint)
src/driveraker.go:582:51:warning: don't use underscores in Go names; func parameter prod_dir should be prodDir (golint)
src/driveraker.go:582:68:warning: don't use underscores in Go names; func parameter use_hugo should be useHugo (golint)
src/driveraker.go:593:2:warning: don't use underscores in Go names; var driveraker_config should be driverakerConfig (golint)
src/driveraker.go:595:2:warning: don't use underscores in Go names; var conf_message should be confMessage (golint)
src/driveraker.go:600:2:warning: don't use underscores in Go names; var drive_sync_dir should be driveSyncDir (golint)
src/driveraker.go:601:2:warning: don't use underscores in Go names; var drive_remote_dir should be driveRemoteDir (golint)
src/driveraker.go:602:2:warning: don't use underscores in Go names; var hugo_post_dir should be hugoPostDir (golint)
src/driveraker.go:603:2:warning: don't use underscores in Go names; var nginx_dir should be nginxDir (golint)
src/driveraker.go:606:2:warning: don't use underscores in Go names; var docx_paths_message should be docxPathsMessage (golint)
src/driveraker.go:607:6:warning: don't use underscores in Go names; var drive_sync should be driveSync (golint)
src/driveraker.go:610:2:warning: don't use underscores in Go names; var docx_file_paths should be docxFilePaths (golint)
src/driveraker.go:616:6:warning: don't use underscores in Go names; var markdown_paths should be markdownPaths (golint)
src/driveraker.go:619:3:warning: don't use underscores in Go names; var docx_file_path should be docxFilePath (golint)
src/driveraker.go:624:3:warning: don't use underscores in Go names; var name_regex should be nameRegex (golint)
src/driveraker.go:626:3:warning: don't use underscores in Go names; var markdown_path should be markdownPath (golint)
src/driveraker.go:424::error: arg tags for printf verb %f of wrong type: []string (vet)
src/driveraker.go:433::error: arg categories for printf verb %f of wrong type: []string (vet)
src/driveraker.go:444::error: arg publicationyearmonthdate for printf verb %f of wrong type: []string (vet)
src/driveraker.go:455::error: arg updateyearmonthdate for printf verb %f of wrong type: []string (vet)
src/driveraker.go:488::error: arg title for printf verb %f of wrong type: []string (vet)
src/driveraker.go:499::error: arg subtitle for printf verb %f of wrong type: []string (vet)
src/driveraker.go:510::error: arg author_names for printf verb %f of wrong type: []string (vet)
src/driveraker.go:582:1:warning: compile_and_serve_hugo_site is unused (deadcode)
src/driveraker.go:269:15:warning: error return value not checked (defer f.Close()) (errcheck)
src/driveraker.go:275:9:warning: error return value not checked (f.Close()) (errcheck)
src/driveraker.go:288:15:warning: error return value not checked (defer f.Close()) (errcheck)
src/driveraker.go:291:21:warning: error return value not checked (writer.WriteString(fmt.Sprintf("%s\n", content[i]))) (errcheck)
src/driveraker.go:364:15:warning: error return value not checked (defer f.Close()) (errcheck)
src/driveraker.go:370:9:warning: error return value not checked (f.Close()) (errcheck)
src/driveraker.go:299:2:warning: 'if err != nil { return err }; return nil' can be simplified to 'return err' (S1013) (gosimple)
src/driveraker.go:396:5:warning: should use strings.Contains(contents[line], variable) instead (S1003) (gosimple)
src/driveraker.go:417:2:warning: should merge variable declaration with assignment on next line (S1021) (gosimple)
src/driveraker.go:547:6:warning: should use strings.Contains(markdownfile.Contents[j], `<img src=`) instead (S1003) (gosimple)
src/driveraker.go:175::warning: Errors unhandled.,LOW,HIGH (gas)
src/driveraker.go:202::warning: Subprocess launching with variable.,HIGH,HIGH (gas)
src/driveraker.go:235::warning: Subprocess launching with variable.,HIGH,HIGH (gas)
src/driveraker.go:275::warning: Errors unhandled.,LOW,HIGH (gas)
src/driveraker.go:291::warning: Errors unhandled.,LOW,HIGH (gas)
src/driveraker.go:360::warning: Expect file permissions to be 0600 or less,MEDIUM,HIGH (gas)
src/driveraker.go:370::warning: Errors unhandled.,LOW,HIGH (gas)
src/driveraker.go:471::warning: Subprocess launching with variable.,HIGH,HIGH (gas)
src/driveraker.go:553::warning: Subprocess launching with variable.,HIGH,HIGH (gas)
src/driveraker.go:582:6:warning: func compile_and_serve_hugo_site is unused (U1000) (unused)
src/driveraker.go:324:21:warning: os.SEEK_SET is deprecated: Use io.SeekStart, io.SeekCurrent, and io.SeekEnd. (SA1019) (staticcheck)
src/driveraker.go:336:21:warning: os.SEEK_SET is deprecated: Use io.SeekStart, io.SeekCurrent, and io.SeekEnd. (SA1019) (staticcheck)
src/driveraker.go:352:21:warning: os.SEEK_SET is deprecated: Use io.SeekStart, io.SeekCurrent, and io.SeekEnd. (SA1019) (staticcheck)
➜ gometalinter
driveraker.go:319::warning: cyclomatic complexity 11 of function deleteLine() is high (> 10) (gocyclo)
driveraker.go:34:1:warning: Store is unused (deadcode)
driveraker.go:60:1:warning: NewPathStore is unused (deadcode)
driveraker.go:121::warning: declaration of "err" shadows declaration at driveraker.go:112 (vetshadow)
driveraker.go:425::error: arg tags for printf verb %f of wrong type: []string (vet)
driveraker.go:434::error: arg categories for printf verb %f of wrong type: []string (vet)
driveraker.go:445::error: arg publicationyearmonthdate for printf verb %f of wrong type: []string (vet)
driveraker.go:456::error: arg updateyearmonthdate for printf verb %f of wrong type: []string (vet)
driveraker.go:489::error: arg title for printf verb %f of wrong type: []string (vet)
driveraker.go:500::error: arg subtitle for printf verb %f of wrong type: []string (vet)
driveraker.go:511::error: arg author_names for printf verb %f of wrong type: []string (vet)
driveraker.go:6::warning: Use of weak cryptographic primitive,HIGH,HIGH (gas)
driveraker.go:54::warning: Use of weak cryptographic primitive,MEDIUM,HIGH (gas)
driveraker.go:135::warning: Expect file permissions to be 0600 or less,MEDIUM,HIGH (gas)
driveraker.go:201::warning: Subprocess launching with variable.,HIGH,HIGH (gas)
driveraker.go:234::warning: Subprocess launching with variable.,HIGH,HIGH (gas)
driveraker.go:361::warning: Expect file permissions to be 0600 or less,MEDIUM,HIGH (gas)
driveraker.go:472::warning: Subprocess launching with variable.,HIGH,HIGH (gas)
driveraker.go:554::warning: Subprocess launching with variable.,HIGH,HIGH (gas)
driveraker.go:585::warning: Subprocess launching should be audited.,LOW,HIGH (gas)
driveraker.go:592::warning: Subprocess launching with variable.,HIGH,HIGH (gas)
driveraker.go:76:31:error: undeclared name: ok (gotype)
driveraker.go:77:11:error: undeclared name: u (gotype)
driveraker.go:78:10:error: cannot convert nil (untyped nil value) to bool (gotype)
driveraker.go:80:9:error: cannot use errors.New("Key not found") (value of type error) as bool value in return statement (gotype)
driveraker.go:76:8:error: okay declared but not used (gotype)
driveraker.go:76:5:error: p declared but not used (gotype)
driveraker.go:88:10:error: cannot use errors.New("Key already exists") (value of type error) as bool value in return statement (gotype)
driveraker.go:92:9:error: cannot convert nil (untyped nil value) to bool (gotype)
driveraker.go:98:18:error: cannot use path (variable of type *string) as string value in argument to md5hash (gotype)
driveraker.go:98:24:error: cannot use DriveSyncDirectory (variable of type *string) as string value in argument to md5hash (gotype)
driveraker.go:100:38:error: cannot convert nil (untyped nil value) to bool (gotype)
driveraker.go:126:12:error: cannot use s.Set(&r.key, &r.path) (value of type bool) as error value in assignment: missing method Error (gotype)
driveraker.go:188:37:error: invalid operation: configuration (variable of type Configuration) has no field or method NginxDirectory (gotype)
driveraker.go:595:11:error: no new variables on left side of := (gotype)
driveraker.go:661:74:error: undeclared name: serve (gotype)
driveraker.go:76:5:warning: ineffectual assignment to p (ineffassign)
driveraker.go:76:8:warning: ineffectual assignment to okay (ineffassign)
driveraker.go:34:6:warning: exported type Store should have comment or be unexported (golint)
driveraker.go:39:6:warning: exported type PathStore should have comment or be unexported (golint)
driveraker.go:59:1:warning: comment on exported function NewPathStore should be of the form "NewPathStore ..." (golint)
driveraker.go:72:1:warning: comment on exported method PathStore.Get should be of the form "Get ..." (golint)
driveraker.go:83:1:warning: comment on exported method PathStore.Set should be of the form "Set ..." (golint)
driveraker.go:95:1:warning: comment on exported method PathStore.Put should be of the form "Put ..." (golint)
driveraker.go:163:1:warning: comment on exported type Configuration should be of the form "Configuration ..." (with optional leading article) (golint)
driveraker.go:197:73:warning: don't use underscores in Go names; func parameter drive_sync should be driveSync (golint)
driveraker.go:249:6:warning: exported type MarkdownFileRecord should have comment or be unexported (golint)
driveraker.go:254:1:warning: exported function NewMarkdownFile should have comment or be unexported (golint)
driveraker.go:279:1:warning: exported method MarkdownFileRecord.Prepend should have comment or be unexported (golint)
driveraker.go:411:131:warning: don't use underscores in Go names; func parameter front_matter should be frontMatter (golint)
driveraker.go:425:2:warning: don't use underscores in Go names; var tag_list should be tagList (golint)
driveraker.go:434:2:warning: don't use underscores in Go names; var cat_list should be catList (golint)
driveraker.go:445:2:warning: don't use underscores in Go names; var pub_date should be pubDate (golint)
driveraker.go:456:2:warning: don't use underscores in Go names; var mod_date should be modDate (golint)
driveraker.go:468:2:warning: don't use underscores in Go names; var cover_image_path_before should be coverImagePathBefore (golint)
driveraker.go:470:2:warning: don't use underscores in Go names; var cover_image_path_after should be coverImagePathAfter (golint)
driveraker.go:472:2:warning: don't use underscores in Go names; var copy_cover_image should be copyCoverImage (golint)
driveraker.go:509:6:warning: don't use underscores in Go names; var author_names should be authorNames (golint)
driveraker.go:511:2:warning: don't use underscores in Go names; var author_list should be authorList (golint)
driveraker.go:551:4:warning: don't use underscores in Go names; var inline_image should be inlineImage (golint)
driveraker.go:552:4:warning: don't use underscores in Go names; var inline_image_path_before should be inlineImagePathBefore (golint)
driveraker.go:553:4:warning: don't use underscores in Go names; var inline_image_path_after should be inlineImagePathAfter (golint)
driveraker.go:554:4:warning: don't use underscores in Go names; var copy_image should be copyImage (golint)
driveraker.go:568:4:warning: don't use underscores in Go names; var regex_alt_text should be regexAltText (golint)
driveraker.go:569:4:warning: don't use underscores in Go names; var alt_texts should be altTexts (golint)
driveraker.go:570:4:warning: don't use underscores in Go names; var alt_text should be altText (golint)
driveraker.go:584:6:warning: don't use underscores in Go names; func compile_and_serve_hugo_site should be compileAndServeHugoSite (golint)
driveraker.go:584:56:warning: don't use underscores in Go names; func parameter prod_dir should be prodDir (golint)
driveraker.go:612:2:warning: don't use underscores in Go names; var driveraker_config should be driverakerConfig (golint)
driveraker.go:626:6:warning: don't use underscores in Go names; var drive_sync should be driveSync (golint)
driveraker.go:643:3:warning: don't use underscores in Go names; var name_regex should be nameRegex (golint)
driveraker.go:645:3:warning: don't use underscores in Go names; var markdown_path should be markdownPath (golint)
driveraker.go:76:31:warning: undeclared name: ok (interfacer)
driveraker.go:76:31:warning: undeclared name: ok (staticcheck)
driveraker.go:77:11:warning: undeclared name: u (staticcheck)
driveraker.go:78:10:warning: cannot convert nil (untyped nil value) to bool (staticcheck)
driveraker.go:80:9:warning: cannot use errors.New("Key not found") (value of type error) as bool value in return statement (staticcheck)
driveraker.go:76:8:warning: okay declared but not used (staticcheck)
driveraker.go:76:5:warning: p declared but not used (staticcheck)
driveraker.go:88:10:warning: cannot use errors.New("Key already exists") (value of type error) as bool value in return statement (staticcheck)
driveraker.go:92:9:warning: cannot convert nil (untyped nil value) to bool (staticcheck)
driveraker.go:98:18:warning: cannot use path (variable of type *string) as string value in argument to md5hash (staticcheck)
driveraker.go:98:24:warning: cannot use DriveSyncDirectory (variable of type *string) as string value in argument to md5hash (staticcheck)
driveraker.go:100:38:warning: cannot convert nil (untyped nil value) to bool (staticcheck)
driveraker.go:126:12:warning: cannot use s.Set(&r.key, &r.path) (value of type bool) as error value in assignment: missing method Error (staticcheck)
driveraker.go:188:37:warning: invalid operation: configuration (variable of type Configuration) has no field or method NginxDirectory (staticcheck)
driveraker.go:595:11:warning: no new variables on left side of := (staticcheck)
driveraker.go:661:74:warning: undeclared name: serve (staticcheck)
driveraker.go:76:31:warning: error return value not checked (undeclared name: ok) (errcheck)
driveraker.go:77:11:warning: error return value not checked (undeclared name: u) (errcheck)
driveraker.go:78:10:warning: error return value not checked (cannot convert nil (untyped nil value) to bool) (errcheck)
driveraker.go:80:9:warning: error return value not checked (cannot use errors.New("Key not found") (value of type error) as bool value in return statement) (errcheck)
driveraker.go:76:5:warning: error return value not checked (p declared but not used) (errcheck)
driveraker.go:76:8:warning: error return value not checked (okay declared but not used) (errcheck)
driveraker.go:88:10:warning: error return value not checked (cannot use errors.New("Key already exists") (value of type error) as bool value in return statement) (errcheck)
driveraker.go:92:9:warning: error return value not checked (cannot convert nil (untyped nil value) to bool) (errcheck)
driveraker.go:98:18:warning: error return value not checked (cannot use path (variable of type *string) as string value in argument to md5hash) (errcheck)
driveraker.go:98:24:warning: error return value not checked (cannot use DriveSyncDirectory (variable of type *string) as string value in argument to md5hash) (errcheck)
driveraker.go:100:38:warning: error return value not checked (cannot convert nil (untyped nil value) to bool) (errcheck)
driveraker.go:126:12:warning: error return value not checked (cannot use s.Set(&r.key, &r.path) (value of type bool) as error value in assignment: missing method Error) (errcheck)
driveraker.go:188:37:warning: error return value not checked (invalid operation: configuration (variable of type Configuration) has no field or method NginxDirectory) (errcheck)
driveraker.go:595:11:warning: error return value not checked (no new variables on left side of :=) (errcheck)
driveraker.go:661:74:warning: error return value not checked (undeclared name: serve) (errcheck)
driveraker.go:76:31:warning: undeclared name: ok (unconvert)
driveraker.go:77:11:warning: undeclared name: u (unconvert)
driveraker.go:78:10:warning: cannot convert nil (untyped nil value) to bool (unconvert)
driveraker.go:80:9:warning: cannot use errors.New("Key not found") (value of type error) as bool value in return statement (unconvert)
driveraker.go:76:5:warning: p declared but not used (unconvert)
driveraker.go:76:8:warning: okay declared but not used (unconvert)
driveraker.go:88:10:warning: cannot use errors.New("Key already exists") (value of type error) as bool value in return statement (unconvert)
driveraker.go:92:9:warning: cannot convert nil (untyped nil value) to bool (unconvert)
driveraker.go:98:18:warning: cannot use path (variable of type *string) as string value in argument to md5hash (unconvert)
driveraker.go:98:24:warning: cannot use DriveSyncDirectory (variable of type *string) as string value in argument to md5hash (unconvert)
driveraker.go:100:38:warning: cannot convert nil (untyped nil value) to bool (unconvert)
driveraker.go:126:12:warning: cannot use s.Set(&r.key, &r.path) (value of type bool) as error value in assignment: missing method Error (unconvert)
driveraker.go:188:37:warning: invalid operation: configuration (variable of type Configuration) has no field or method NginxDirectory (unconvert)
driveraker.go:595:11:warning: no new variables on left side of := (unconvert)
driveraker.go:661:74:warning: undeclared name: serve (unconvert)
driveraker.go:76:31:warning: undeclared name: ok (aligncheck)
driveraker.go:77:11:warning: undeclared name: u (aligncheck)
driveraker.go:78:10:warning: cannot convert nil (untyped nil value) to bool (aligncheck)
driveraker.go:80:9:warning: cannot use errors.New("Key not found") (value of type error) as bool value in return statement (aligncheck)
driveraker.go:76:5:warning: p declared but not used (aligncheck)
driveraker.go:76:8:warning: okay declared but not used (aligncheck)
driveraker.go:88:10:warning: cannot use errors.New("Key already exists") (value of type error) as bool value in return statement (aligncheck)
driveraker.go:92:9:warning: cannot convert nil (untyped nil value) to bool (aligncheck)
driveraker.go:98:18:warning: cannot use path (variable of type *string) as string value in argument to md5hash (aligncheck)
driveraker.go:98:24:warning: cannot use DriveSyncDirectory (variable of type *string) as string value in argument to md5hash (aligncheck)
driveraker.go:100:38:warning: cannot convert nil (untyped nil value) to bool (aligncheck)
driveraker.go:126:12:warning: cannot use s.Set(&r.key, &r.path) (value of type bool) as error value in assignment: missing method Error (aligncheck)
driveraker.go:188:37:warning: invalid operation: configuration (variable of type Configuration) has no field or method NginxDirectory (aligncheck)
driveraker.go:595:11:warning: no new variables on left side of := (aligncheck)
driveraker.go:661:74:warning: undeclared name: serve (aligncheck)
driveraker.go:76:31:warning: unused struct field undeclared name: ok (structcheck)
driveraker.go:77:11:warning: unused struct field undeclared name: u (structcheck)
driveraker.go:78:10:warning: unused struct field cannot convert nil (untyped nil value) to bool (structcheck)
driveraker.go:80:9:warning: unused struct field cannot use errors.New("Key not found") (value of type error) as bool value in return statement (structcheck)
driveraker.go:76:5:warning: unused struct field p declared but not used (structcheck)
driveraker.go:76:8:warning: unused struct field okay declared but not used (structcheck)
driveraker.go:88:10:warning: unused struct field cannot use errors.New("Key already exists") (value of type error) as bool value in return statement (structcheck)
driveraker.go:92:9:warning: unused struct field cannot convert nil (untyped nil value) to bool (structcheck)
driveraker.go:98:18:warning: unused struct field cannot use path (variable of type *string) as string value in argument to md5hash (structcheck)
driveraker.go:98:24:warning: unused struct field cannot use DriveSyncDirectory (variable of type *string) as string value in argument to md5hash (structcheck)
driveraker.go:100:38:warning: unused struct field cannot convert nil (untyped nil value) to bool (structcheck)
driveraker.go:126:12:warning: unused struct field cannot use s.Set(&r.key, &r.path) (value of type bool) as error value in assignment: missing method Error (structcheck)
driveraker.go:188:37:warning: unused struct field invalid operation: configuration (variable of type Configuration) has no field or method NginxDirectory (structcheck)
driveraker.go:595:11:warning: unused struct field no new variables on left side of := (structcheck)
driveraker.go:661:74:warning: unused struct field undeclared name: serve (structcheck)
driveraker.go:76:31:warning: unused variable or constant undeclared name: ok (varcheck)
driveraker.go:77:11:warning: unused variable or constant undeclared name: u (varcheck)
driveraker.go:78:10:warning: unused variable or constant cannot convert nil (untyped nil value) to bool (varcheck)
driveraker.go:80:9:warning: unused variable or constant cannot use errors.New("Key not found") (value of type error) as bool value in return statement (varcheck)
driveraker.go:76:5:warning: unused variable or constant p declared but not used (varcheck)
driveraker.go:76:8:warning: unused variable or constant okay declared but not used (varcheck)
driveraker.go:88:10:warning: unused variable or constant cannot use errors.New("Key already exists") (value of type error) as bool value in return statement (varcheck)
driveraker.go:92:9:warning: unused variable or constant cannot convert nil (untyped nil value) to bool (varcheck)
driveraker.go:98:18:warning: unused variable or constant cannot use path (variable of type *string) as string value in argument to md5hash (varcheck)
driveraker.go:98:24:warning: unused variable or constant cannot use DriveSyncDirectory (variable of type *string) as string value in argument to md5hash (varcheck)
driveraker.go:100:38:warning: unused variable or constant cannot convert nil (untyped nil value) to bool (varcheck)
driveraker.go:126:12:warning: unused variable or constant cannot use s.Set(&r.key, &r.path) (value of type bool) as error value in assignment: missing method Error (varcheck)
driveraker.go:188:37:warning: unused variable or constant invalid operation: configuration (variable of type Configuration) has no field or method NginxDirectory (varcheck)
driveraker.go:595:11:warning: unused variable or constant no new variables on left side of := (varcheck)
driveraker.go:661:74:warning: unused variable or constant undeclared name: serve (varcheck)
driveraker.go:76:31:warning: undeclared name: ok (gosimple)
driveraker.go:77:11:warning: undeclared name: u (gosimple)
driveraker.go:78:10:warning: cannot convert nil (untyped nil value) to bool (gosimple)
driveraker.go:80:9:warning: cannot use errors.New("Key not found") (value of type error) as bool value in return statement (gosimple)
driveraker.go:76:5:warning: p declared but not used (gosimple)
driveraker.go:76:8:warning: okay declared but not used (gosimple)
driveraker.go:88:10:warning: cannot use errors.New("Key already exists") (value of type error) as bool value in return statement (gosimple)
driveraker.go:92:9:warning: cannot convert nil (untyped nil value) to bool (gosimple)
driveraker.go:98:18:warning: cannot use path (variable of type *string) as string value in argument to md5hash (gosimple)
driveraker.go:98:24:warning: cannot use DriveSyncDirectory (variable of type *string) as string value in argument to md5hash (gosimple)
driveraker.go:100:38:warning: cannot convert nil (untyped nil value) to bool (gosimple)
driveraker.go:126:12:warning: cannot use s.Set(&r.key, &r.path) (value of type bool) as error value in assignment: missing method Error (gosimple)
driveraker.go:188:37:warning: invalid operation: configuration (variable of type Configuration) has no field or method NginxDirectory (gosimple)
driveraker.go:595:11:warning: no new variables on left side of := (gosimple)
driveraker.go:661:74:warning: undeclared name: serve (gosimple)
➜ pre-commit run --all-files
go fmt...................................................................Passed
go build.................................................................Failed
hookid: go-build
os/user
_/home/deleuze/Documents/driveraker/src
go install _/home/deleuze/Documents/driveraker/src: build output "src" already exists and is a directory
go metalinter............................................................Failed
hookid: go-metalinter
src/driveraker.go:34:6:warning: exported type Store should have comment or be unexported (golint)
src/driveraker.go:39:6:warning: exported type PathStore should have comment or be unexported (golint)
src/driveraker.go:59:1:warning: comment on exported function NewPathStore should be of the form "NewPathStore ..." (golint)
src/driveraker.go:72:1:warning: comment on exported method PathStore.Get should be of the form "Get ..." (golint)
src/driveraker.go:83:1:warning: comment on exported method PathStore.Set should be of the form "Set ..." (golint)
src/driveraker.go:95:1:warning: comment on exported method PathStore.Put should be of the form "Put ..." (golint)
src/driveraker.go:163:1:warning: comment on exported type Configuration should be of the form "Configuration ..." (with optional leading article) (golint)
src/driveraker.go:197:73:warning: don't use underscores in Go names; func parameter drive_sync should be driveSync (golint)
src/driveraker.go:249:6:warning: exported type MarkdownFileRecord should have comment or be unexported (golint)
src/driveraker.go:254:1:warning: exported function NewMarkdownFile should have comment or be unexported (golint)
src/driveraker.go:279:1:warning: exported method MarkdownFileRecord.Prepend should have comment or be unexported (golint)
src/driveraker.go:411:131:warning: don't use underscores in Go names; func parameter front_matter should be frontMatter (golint)
src/driveraker.go:510:6:warning: don't use underscores in Go names; var author_names should be authorNames (golint)
src/driveraker.go:552:4:warning: don't use underscores in Go names; var inline_image should be inlineImage (golint)
src/driveraker.go:553:4:warning: don't use underscores in Go names; var inline_image_path_before should be inlineImagePathBefore (golint)
src/driveraker.go:554:4:warning: don't use underscores in Go names; var inline_image_path_after should be inlineImagePathAfter (golint)
src/driveraker.go:555:4:warning: don't use underscores in Go names; var copy_image should be copyImage (golint)
src/driveraker.go:569:4:warning: don't use underscores in Go names; var regex_alt_text should be regexAltText (golint)
src/driveraker.go:570:4:warning: don't use underscores in Go names; var alt_texts should be altTexts (golint)
src/driveraker.go:571:4:warning: don't use underscores in Go names; var alt_text should be altText (golint)
src/driveraker.go:585:6:warning: don't use underscores in Go names; func compile_and_serve_hugo_site should be compileAndServeHugoSite (golint)
src/driveraker.go:585:56:warning: don't use underscores in Go names; func parameter prod_dir should be prodDir (golint)
src/driveraker.go:613:2:warning: don't use underscores in Go names; var driveraker_config should be driverakerConfig (golint)
src/driveraker.go:627:6:warning: don't use underscores in Go names; var drive_sync should be driveSync (golint)
src/driveraker.go:644:3:warning: don't use underscores in Go names; var name_regex should be nameRegex (golint)
src/driveraker.go:646:3:warning: don't use underscores in Go names; var markdown_path should be markdownPath (golint)
src/driveraker.go:98::error: arg path for printf verb %s of wrong type: *string (vet)
src/driveraker.go:98::error: arg DriveSyncDirectory for printf verb %s of wrong type: *string (vet)
src/driveraker.go:425::error: arg tags for printf verb %f of wrong type: []string (vet)
src/driveraker.go:434::error: arg categories for printf verb %f of wrong type: []string (vet)
src/driveraker.go:445::error: arg publicationyearmonthdate for printf verb %f of wrong type: []string (vet)
src/driveraker.go:456::error: arg updateyearmonthdate for printf verb %f of wrong type: []string (vet)
src/driveraker.go:490::error: arg title for printf verb %f of wrong type: []string (vet)
src/driveraker.go:501::error: arg subtitle for printf verb %f of wrong type: []string (vet)
src/driveraker.go:512::error: arg author_names for printf verb %f of wrong type: []string (vet)
src/driveraker.go:121::warning: declaration of "err" shadows declaration at driveraker.go:112 (vetshadow)
src/driveraker.go:6::warning: Use of weak cryptographic primitive,HIGH,HIGH (gas)
src/driveraker.go:54::warning: Use of weak cryptographic primitive,MEDIUM,HIGH (gas)
src/driveraker.go:55::warning: Errors unhandled.,LOW,HIGH (gas)
src/driveraker.go:135::warning: Expect file permissions to be 0600 or less,MEDIUM,HIGH (gas)
src/driveraker.go:174::warning: Errors unhandled.,LOW,HIGH (gas)
src/driveraker.go:201::warning: Subprocess launching with variable.,HIGH,HIGH (gas)
src/driveraker.go:234::warning: Subprocess launching with variable.,HIGH,HIGH (gas)
src/driveraker.go:275::warning: Errors unhandled.,LOW,HIGH (gas)
src/driveraker.go:291::warning: Errors unhandled.,LOW,HIGH (gas)
src/driveraker.go:361::warning: Expect file permissions to be 0600 or less,MEDIUM,HIGH (gas)
src/driveraker.go:371::warning: Errors unhandled.,LOW,HIGH (gas)
src/driveraker.go:472::warning: Subprocess launching with variable.,HIGH,HIGH (gas)
src/driveraker.go:555::warning: Subprocess launching with variable.,HIGH,HIGH (gas)
src/driveraker.go:586::warning: Subprocess launching should be audited.,LOW,HIGH (gas)
src/driveraker.go:593::warning: Subprocess launching with variable.,HIGH,HIGH (gas)
src/driveraker.go:55:14:warning: error return value not checked (hasher.Write([]byte(relativepath))) (errcheck)
src/driveraker.go:116:15:warning: error return value not checked (defer f.Close()) (errcheck)
src/driveraker.go:143:15:warning: error return value not checked (defer f.Close()) (errcheck)
src/driveraker.go:144:15:warning: error return value not checked (defer b.Flush()) (errcheck)
src/driveraker.go:269:15:warning: error return value not checked (defer f.Close()) (errcheck)
src/driveraker.go:275:9:warning: error return value not checked (f.Close()) (errcheck)
src/driveraker.go:288:15:warning: error return value not checked (defer f.Close()) (errcheck)
src/driveraker.go:291:21:warning: error return value not checked (writer.WriteString(fmt.Sprintf("%s\n", content[i]))) (errcheck)
src/driveraker.go:365:15:warning: error return value not checked (defer f.Close()) (errcheck)
src/driveraker.go:371:9:warning: error return value not checked (f.Close()) (errcheck)
src/driveraker.go:34:1:warning: Store is unused (deadcode)
src/driveraker.go:60:1:warning: NewPathStore is unused (deadcode)
src/driveraker.go:30:2:warning: const saveTimeout is unused (U1000) (unused)
src/driveraker.go:31:2:warning: const saveQueueLength is unused (U1000) (unused)
src/driveraker.go:34:6:warning: type Store is unused (U1000) (unused)
src/driveraker.go:35:2:warning: func Store.Put is unused (U1000) (unused)
src/driveraker.go:36:2:warning: func Store.Get is unused (U1000) (unused)
src/driveraker.go:39:6:warning: type PathStore is unused (U1000) (unused)
src/driveraker.go:46:6:warning: type record is unused (U1000) (unused)
src/driveraker.go:51:6:warning: func md5hash is unused (U1000) (unused)
src/driveraker.go:60:6:warning: func NewPathStore is unused (U1000) (unused)
src/driveraker.go:325:21:warning: os.SEEK_SET is deprecated: Use io.SeekStart, io.SeekCurrent, and io.SeekEnd. (SA1019) (staticcheck)
src/driveraker.go:337:21:warning: os.SEEK_SET is deprecated: Use io.SeekStart, io.SeekCurrent, and io.SeekEnd. (SA1019) (staticcheck)
src/driveraker.go:353:21:warning: os.SEEK_SET is deprecated: Use io.SeekStart, io.SeekCurrent, and io.SeekEnd. (SA1019) (staticcheck)
src/driveraker.go:299:2:warning: 'if err != nil { return err }; return nil' can be simplified to 'return err' (S1013) (gosimple)
src/driveraker.go:397:5:warning: should use strings.Contains(contents[line], variable) instead (S1003) (gosimple)
src/driveraker.go:418:2:warning: should merge variable declaration with assignment on next line (S1021) (gosimple)
src/driveraker.go:549:6:warning: should use strings.Contains(markdownfile.Contents[j], `<img src=`) instead (S1003) (gosimple)
Got rid of underscores
➜ pre-commit run --all-files
go fmt...................................................................Passed
go build.................................................................Failed
hookid: go-build
os/user
_/home/deleuze/Documents/driveraker/src
go install _/home/deleuze/Documents/driveraker/src: build output "src" already exists and is a directory
go metalinter............................................................Failed
hookid: go-metalinter
src/driveraker.go:34:1:warning: Store is unused (deadcode)
src/driveraker.go:60:1:warning: NewPathStore is unused (deadcode)
src/driveraker.go:98::error: arg path for printf verb %s of wrong type: *string (vet)
src/driveraker.go:98::error: arg DriveSyncDirectory for printf verb %s of wrong type: *string (vet)
src/driveraker.go:425::error: arg tags for printf verb %f of wrong type: []string (vet)
src/driveraker.go:434::error: arg categories for printf verb %f of wrong type: []string (vet)
src/driveraker.go:445::error: arg publicationyearmonthdate for printf verb %f of wrong type: []string (vet)
src/driveraker.go:456::error: arg updateyearmonthdate for printf verb %f of wrong type: []string (vet)
src/driveraker.go:490::error: arg title for printf verb %f of wrong type: []string (vet)
src/driveraker.go:501::error: arg subtitle for printf verb %f of wrong type: []string (vet)
src/driveraker.go:512::error: arg authorNames for printf verb %f of wrong type: []string (vet)
src/driveraker.go:121::warning: declaration of "err" shadows declaration at driveraker.go:112 (vetshadow)
src/driveraker.go:34:6:warning: exported type Store should have comment or be unexported (golint)
src/driveraker.go:39:6:warning: exported type PathStore should have comment or be unexported (golint)
src/driveraker.go:59:1:warning: comment on exported function NewPathStore should be of the form "NewPathStore ..." (golint)
src/driveraker.go:72:1:warning: comment on exported method PathStore.Get should be of the form "Get ..." (golint)
src/driveraker.go:83:1:warning: comment on exported method PathStore.Set should be of the form "Set ..." (golint)
src/driveraker.go:95:1:warning: comment on exported method PathStore.Put should be of the form "Put ..." (golint)
src/driveraker.go:163:1:warning: comment on exported type Configuration should be of the form "Configuration ..." (with optional leading article) (golint)
src/driveraker.go:249:6:warning: exported type MarkdownFileRecord should have comment or be unexported (golint)
src/driveraker.go:254:1:warning: exported function NewMarkdownFile should have comment or be unexported (golint)
src/driveraker.go:279:1:warning: exported method MarkdownFileRecord.Prepend should have comment or be unexported (golint)
src/driveraker.go:411:131:warning: don't use underscores in Go names; func parameter front_matter should be frontMatter (golint)
src/driveraker.go:6::warning: Use of weak cryptographic primitive,HIGH,HIGH (gas)
src/driveraker.go:54::warning: Use of weak cryptographic primitive,MEDIUM,HIGH (gas)
src/driveraker.go:55::warning: Errors unhandled.,LOW,HIGH (gas)
src/driveraker.go:135::warning: Expect file permissions to be 0600 or less,MEDIUM,HIGH (gas)
src/driveraker.go:174::warning: Errors unhandled.,LOW,HIGH (gas)
src/driveraker.go:201::warning: Subprocess launching with variable.,HIGH,HIGH (gas)
src/driveraker.go:234::warning: Subprocess launching with variable.,HIGH,HIGH (gas)
src/driveraker.go:275::warning: Errors unhandled.,LOW,HIGH (gas)
src/driveraker.go:291::warning: Errors unhandled.,LOW,HIGH (gas)
src/driveraker.go:361::warning: Expect file permissions to be 0600 or less,MEDIUM,HIGH (gas)
src/driveraker.go:371::warning: Errors unhandled.,LOW,HIGH (gas)
src/driveraker.go:472::warning: Subprocess launching with variable.,HIGH,HIGH (gas)
src/driveraker.go:555::warning: Subprocess launching with variable.,HIGH,HIGH (gas)
src/driveraker.go:586::warning: Subprocess launching should be audited.,LOW,HIGH (gas)
src/driveraker.go:593::warning: Subprocess launching with variable.,HIGH,HIGH (gas)
src/driveraker.go:55:14:warning: error return value not checked (hasher.Write([]byte(relativepath))) (errcheck)
src/driveraker.go:116:15:warning: error return value not checked (defer f.Close()) (errcheck)
src/driveraker.go:143:15:warning: error return value not checked (defer f.Close()) (errcheck)
src/driveraker.go:144:15:warning: error return value not checked (defer b.Flush()) (errcheck)
src/driveraker.go:269:15:warning: error return value not checked (defer f.Close()) (errcheck)
src/driveraker.go:275:9:warning: error return value not checked (f.Close()) (errcheck)
src/driveraker.go:288:15:warning: error return value not checked (defer f.Close()) (errcheck)
src/driveraker.go:291:21:warning: error return value not checked (writer.WriteString(fmt.Sprintf("%s\n", content[i]))) (errcheck)
src/driveraker.go:365:15:warning: error return value not checked (defer f.Close()) (errcheck)
src/driveraker.go:371:9:warning: error return value not checked (f.Close()) (errcheck)
src/driveraker.go:299:2:warning: 'if err != nil { return err }; return nil' can be simplified to 'return err' (S1013) (gosimple)
src/driveraker.go:397:5:warning: should use strings.Contains(contents[line], variable) instead (S1003) (gosimple)
src/driveraker.go:418:2:warning: should merge variable declaration with assignment on next line (S1021) (gosimple)
src/driveraker.go:549:6:warning: should use strings.Contains(markdownfile.Contents[j], `<img src=`) instead (S1003) (gosimple)
src/driveraker.go:325:21:warning: os.SEEK_SET is deprecated: Use io.SeekStart, io.SeekCurrent, and io.SeekEnd. (SA1019) (staticcheck)
src/driveraker.go:337:21:warning: os.SEEK_SET is deprecated: Use io.SeekStart, io.SeekCurrent, and io.SeekEnd. (SA1019) (staticcheck)
src/driveraker.go:353:21:warning: os.SEEK_SET is deprecated: Use io.SeekStart, io.SeekCurrent, and io.SeekEnd. (SA1019) (staticcheck)
src/driveraker.go:30:2:warning: const saveTimeout is unused (U1000) (unused)
src/driveraker.go:31:2:warning: const saveQueueLength is unused (U1000) (unused)
src/driveraker.go:34:6:warning: type Store is unused (U1000) (unused)
src/driveraker.go:35:2:warning: func Store.Put is unused (U1000) (unused)
src/driveraker.go:36:2:warning: func Store.Get is unused (U1000) (unused)
src/driveraker.go:39:6:warning: type PathStore is unused (U1000) (unused)
src/driveraker.go:46:6:warning: type record is unused (U1000) (unused)
src/driveraker.go:51:6:warning: func md5hash is unused (U1000) (unused)
src/driveraker.go:60:6:warning: func NewPathStore is unused (U1000) (unused)
go fmt...................................................................Failed
hookid: go-fmt
Files were modified by this hook. Additional output:
src/driveraker.go
go build.................................................................Failed
hookid: go-build
hash/adler32
os/user
_/home/deleuze/Documents/driveraker/src
go install _/home/deleuze/Documents/driveraker/src: build output "src" already exists and is a directory
go metalinter............................................................Failed
hookid: go-metalinter
src/driveraker.go:139:1:warning: NewHashTable is unused (deadcode)
src/driveraker.go:34:1:warning: comment on exported type LinkedList should be of the form "LinkedList ..." (with optional leading article) (golint)
src/driveraker.go:47:1:warning: exported function NewLinkedList should have comment or be unexported (golint)
src/driveraker.go:51:1:warning: exported method LinkedList.SizeOf should have comment or be unexported (golint)
src/driveraker.go:55:1:warning: exported method LinkedList.AddItem should have comment or be unexported (golint)
src/driveraker.go:56:2:warning: should replace list.Size += 1 with list.Size++ (golint)
src/driveraker.go:67:1:warning: exported method LinkedList.RemoveItem should have comment or be unexported (golint)
src/driveraker.go:75:4:warning: should replace list.Size -= 1 with list.Size-- (golint)
src/driveraker.go:97:1:warning: exported method LinkedList.Items should have comment or be unexported (golint)
src/driveraker.go:102:3:warning: should replace i += 1 with i++ (golint)
src/driveraker.go:108:11:warning: should omit type int from declaration of var fillRate; it will be inferred from the right-hand side (golint)
src/driveraker.go:111:6:warning: exported type HashTable should have comment or be unexported (golint)
src/driveraker.go:128:1:warning: comment on exported function NewHashTableSized should be of the form "NewHashTableSized ..." (golint)
src/driveraker.go:138:1:warning: comment on exported function NewHashTable should be of the form "NewHashTable ..." (golint)
src/driveraker.go:178:1:warning: comment on exported method HashTable.AddItem should be of the form "AddItem ..." (golint)
src/driveraker.go:184:2:warning: should replace table.Size += 1 with table.Size++ (golint)
src/driveraker.go:191:1:warning: comment on exported method HashTable.RemoveKey should be of the form "RemoveKey ..." (golint)
src/driveraker.go:199:6:warning: should replace table.Size -= 1 with table.Size-- (golint)
src/driveraker.go:207:1:warning: comment on exported method HashTable.ContainsKey should be of the form "ContainsKey ..." (golint)
src/driveraker.go:226:1:warning: exported method HashTable.GetValue should have comment or be unexported (golint)
src/driveraker.go:243:1:warning: exported method HashTable.SaveHashTable should have comment or be unexported (golint)
src/driveraker.go:257:1:warning: exported function ReadHashTable should have comment or be unexported (golint)
src/driveraker.go:273:1:warning: comment on exported type Configuration should be of the form "Configuration ..." (with optional leading article) (golint)
src/driveraker.go:434:6:warning: exported type MarkdownFileRecord should have comment or be unexported (golint)
src/driveraker.go:439:1:warning: exported function NewMarkdownFile should have comment or be unexported (golint)
src/driveraker.go:464:1:warning: exported method MarkdownFileRecord.Prepend should have comment or be unexported (golint)
src/driveraker.go:597:131:warning: don't use underscores in Go names; func parameter front_matter should be frontMatter (golint)
src/driveraker.go:166::warning: Errors unhandled.,LOW,HIGH (gas)
src/driveraker.go:244::warning: Expect file permissions to be 0600 or less,MEDIUM,HIGH (gas)
src/driveraker.go:253::warning: Errors unhandled.,LOW,HIGH (gas)
src/driveraker.go:254::warning: Errors unhandled.,LOW,HIGH (gas)
src/driveraker.go:285::warning: Errors unhandled.,LOW,HIGH (gas)
src/driveraker.go:321::warning: Subprocess launching with variable.,HIGH,HIGH (gas)
src/driveraker.go:419::warning: Subprocess launching with variable.,HIGH,HIGH (gas)
src/driveraker.go:460::warning: Errors unhandled.,LOW,HIGH (gas)
src/driveraker.go:476::warning: Errors unhandled.,LOW,HIGH (gas)
src/driveraker.go:547::warning: Expect file permissions to be 0600 or less,MEDIUM,HIGH (gas)
src/driveraker.go:557::warning: Errors unhandled.,LOW,HIGH (gas)
src/driveraker.go:658::warning: Subprocess launching with variable.,HIGH,HIGH (gas)
src/driveraker.go:741::warning: Subprocess launching with variable.,HIGH,HIGH (gas)
src/driveraker.go:772::warning: Subprocess launching should be audited.,LOW,HIGH (gas)
src/driveraker.go:779::warning: Subprocess launching with variable.,HIGH,HIGH (gas)
src/driveraker.go:166:12:warning: error return value not checked (hash.Write([]byte(key))) (errcheck)
src/driveraker.go:248:15:warning: error return value not checked (defer f.Close()) (errcheck)
src/driveraker.go:253:9:warning: error return value not checked (f.Write(b)) (errcheck)
src/driveraker.go:254:9:warning: error return value not checked (f.Close()) (errcheck)
src/driveraker.go:454:15:warning: error return value not checked (defer f.Close()) (errcheck)
src/driveraker.go:460:9:warning: error return value not checked (f.Close()) (errcheck)
src/driveraker.go:473:15:warning: error return value not checked (defer f.Close()) (errcheck)
src/driveraker.go:476:21:warning: error return value not checked (writer.WriteString(fmt.Sprintf("%s\n", content[i]))) (errcheck)
src/driveraker.go:551:15:warning: error return value not checked (defer f.Close()) (errcheck)
src/driveraker.go:557:9:warning: error return value not checked (f.Close()) (errcheck)
src/driveraker.go:382::error: arg values[0] for printf verb %f of wrong type: string (vet)
src/driveraker.go:611::error: arg tags for printf verb %f of wrong type: []string (vet)
src/driveraker.go:620::error: arg categories for printf verb %f of wrong type: []string (vet)
src/driveraker.go:631::error: arg publicationyearmonthdate for printf verb %f of wrong type: []string (vet)
src/driveraker.go:642::error: arg updateyearmonthdate for printf verb %f of wrong type: []string (vet)
src/driveraker.go:676::error: arg title for printf verb %f of wrong type: []string (vet)
src/driveraker.go:687::error: arg subtitle for printf verb %f of wrong type: []string (vet)
src/driveraker.go:698::error: arg authorNames for printf verb %f of wrong type: []string (vet)
src/driveraker.go:139:6:warning: func NewHashTable is unused (U1000) (unused)
src/driveraker.go:511:21:warning: os.SEEK_SET is deprecated: Use io.SeekStart, io.SeekCurrent, and io.SeekEnd. (SA1019) (staticcheck)
src/driveraker.go:523:21:warning: os.SEEK_SET is deprecated: Use io.SeekStart, io.SeekCurrent, and io.SeekEnd. (SA1019) (staticcheck)
src/driveraker.go:539:21:warning: os.SEEK_SET is deprecated: Use io.SeekStart, io.SeekCurrent, and io.SeekEnd. (SA1019) (staticcheck)
src/driveraker.go:70:2:warning: should merge variable declaration with assignment on next line (S1021) (gosimple)
src/driveraker.go:349:5:warning: should omit comparison to bool constant, can be simplified to !hashTableExists (S1002) (gosimple)
src/driveraker.go:363:6:warning: should omit comparison to bool constant, can be simplified to alreadySynced (S1002) (gosimple)
src/driveraker.go:385:15:warning: should omit second index in slice, s[a:len(s)] is identical to s[a:] (S1010) (gosimple)
src/driveraker.go:484:2:warning: 'if err != nil { return err }; return nil' can be simplified to 'return err' (S1013) (gosimple)
src/driveraker.go:583:5:warning: should use strings.Contains(contents[line], variable) instead (S1003) (gosimple)
src/driveraker.go:604:2:warning: should merge variable declaration with assignment on next line (S1021) (gosimple)
src/driveraker.go:735:6:warning: should use strings.Contains(markdownfile.Contents[j], `<img src=`) instead (S1003) (gosimple)
Started it in this commit: f2c7d13