Skip to content

Commit

Permalink
Merge: Fix function comments based on best practices from Effective Go;
Browse files Browse the repository at this point in the history
#638

* commit 'f432eb360952e9bbf95448798ea6a89c4d93dec7':
  Fix function comments based on best practices from Effective Go
  • Loading branch information
szolin committed Mar 15, 2019
2 parents 6e16654 + f432eb3 commit a58bf0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion filter.go
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ func (filter *filter) Path() string {
return filepath.Join(config.ourWorkingDir, dataDir, filterDir, strconv.FormatInt(filter.ID, 10)+".txt")
}

// LastUpdated returns the time when the filter was last time updated
// LastTimeUpdated returns the time when the filter was last time updated
func (filter *filter) LastTimeUpdated() time.Time {
filterFilePath := filter.Path()
if _, err := os.Stat(filterFilePath); os.IsNotExist(err) {
Expand Down

0 comments on commit a58bf0e

Please sign in to comment.