/*
-SGBlog -- Git-backed CGI/inetd blogging/phlogging engine
+SGBlog -- Git-backed CGI/UCSPI blogging/phlogging/gemlogging engine
Copyright (C) 2020-2021 Sergey Matveev <stargrave@stargrave.org>
This program is free software: you can redistribute it and/or modify
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)