mirror of
https://github.com/vbatts/imgsrv.git
synced 2025-06-30 14:38:28 +00:00
/k/ shows a tagcloud now
This commit is contained in:
parent
06185db73b
commit
2e7fe1a454
4 changed files with 105 additions and 2 deletions
|
@ -42,3 +42,12 @@ func (f *File) IsAudio() bool {
|
|||
f.SetContentType()
|
||||
return strings.HasPrefix(f.ContentType, "audio")
|
||||
}
|
||||
|
||||
/*
|
||||
Structure used for collecting the keyword usage for the tag cloud
|
||||
*/
|
||||
type KeywordCount struct {
|
||||
Id string "_id"
|
||||
Value int
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue