]> Sergey Matveev's repositories - sgblog.git/blobdiff - cmd/sgblog/topics.go
Raised copyright years
[sgblog.git] / cmd / sgblog / topics.go
index be70e733ede38a7700a92124200d0a9f8b84619b..a2f29dcf30e06bb18ef19d62206e3b5f0f5a0953 100644 (file)
@@ -1,6 +1,6 @@
 /*
-SGBlog -- Git-backed CGI/inetd blogging/phlogging engine
-Copyright (C) 2020-2021 Sergey Matveev <stargrave@stargrave.org>
+SGBlog -- Git-backed CGI/UCSPI blogging/phlogging/gemlogging engine
+Copyright (C) 2020-2022 Sergey Matveev <stargrave@stargrave.org>
 
 This program is free software: you can redistribute it and/or modify
 it under the terms of the GNU Affero General Public License as
@@ -39,7 +39,7 @@ type TopicsCacheState struct {
 
 func (tc TopicsCache) Topics() []string {
        topics := make([]string, 0, len(tc))
-       for t, _ := range tc {
+       for t := range tc {
                topics = append(topics, t)
        }
        sort.Strings(topics)