1
0
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:
Ferdinand Mütsch
2021-01-17 09:24:09 +01:00
parent 3a4504d56a
commit cd97976ed5
14 changed files with 219 additions and 22 deletions

View File

@@ -1,8 +1,10 @@
package view
type HomeViewModel struct {
Success string
Error string
Success string
Error string
TotalHours int
TotalUsers int
}
func (s *HomeViewModel) WithSuccess(m string) *HomeViewModel {