mirror of
https://github.com/muety/wakapi.git
synced 2023-08-10 21:12:56 +03:00
chore: show total hours on index page (resolve #88)
This commit is contained in:
@@ -12,3 +12,10 @@ func Json(data interface{}) template.JS {
|
||||
}
|
||||
return template.JS(d)
|
||||
}
|
||||
|
||||
func ToRunes(s string) (r []string) {
|
||||
for _, c := range []rune(s) {
|
||||
r = append(r, string(c))
|
||||
}
|
||||
return r
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user