💄 improve: done #10 进度条

This commit is contained in:
naiba committed 2020-12-19 12:43:03 +08:00
1 parent 2e4b8ae734
commit ef7009e5bb
7 files changed
+141 -182

No files matched your search

+3
View File
@@ -28,6 +28,9 @@ func ServeWeb(port uint) {
"css": func(s string) template.CSS {
return template.CSS(s)
},
"tag": func(s string) template.HTML {
return template.HTML(`<` + s + `>`)
},
"stf": func(s uint64) string {
return time.Unix(int64(s), 0).Format("2006年1月2号 15:04")
},