From f432eb360952e9bbf95448798ea6a89c4d93dec7 Mon Sep 17 00:00:00 2001 From: CodeLingo Bot Date: Mon, 11 Mar 2019 00:49:32 +0000 Subject: [PATCH] Fix function comments based on best practices from Effective Go Signed-off-by: CodeLingo Bot --- filter.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/filter.go b/filter.go index 6b61d504..9625b207 100644 --- a/filter.go +++ b/filter.go @@ -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) {