1
0
Fork 0
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:
Vincent Batts 2013-08-05 20:29:16 -04:00
parent 06185db73b
commit 2e7fe1a454
4 changed files with 105 additions and 2 deletions

View file

@ -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
}