Skip to content

Commit

Permalink
Fixing linting
Browse files Browse the repository at this point in the history
  • Loading branch information
COMTOP1 committed Jul 12, 2024
1 parent 392bbea commit bb88034
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion views/officership.go
Original file line number Diff line number Diff line change
Expand Up @@ -555,7 +555,7 @@ func (v *Views) OfficerEditFunc(c echo.Context) error {
tempEndDate := c.FormValue("endDate")

if tempStartDate == "" {
return fmt.Errorf("start date cannot be blank")
return errors.New("start date cannot be blank")
}

parsedStart, err := time.Parse("02/01/2006", tempStartDate)
Expand Down

0 comments on commit bb88034

Please sign in to comment.