[add] better error handling, [add] font selector, [add] tailwind generation
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2023-10-25 19:52:01 -04:00
parent 3577dd89a0
commit cdec621043
25 changed files with 2792 additions and 241 deletions

12
api/utils_test.go Normal file
View File

@@ -0,0 +1,12 @@
package api
import "testing"
func TestNiceSeconds(t *testing.T) {
want := "22d 7h 39m 31s"
nice := niceSeconds(1928371)
if nice != want {
t.Fatalf(`Expected: %v, Got: %v`, want, nice)
}
}