mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2025-02-17 10:29:51 +03:00
Fix function comments based on best practices from Effective Go
Signed-off-by: CodeLingo Bot <bot@codelingo.io>
This commit is contained in:
parent
6e16654344
commit
f432eb3609
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Reference in a new issue