diff --git a/cmd/gonicembed/main.go b/cmd/gonicembed/main.go index a3fc77c..d5684b9 100644 --- a/cmd/gonicembed/main.go +++ b/cmd/gonicembed/main.go @@ -13,6 +13,10 @@ import ( "github.com/pkg/errors" ) +// once i had this written with ~100% text/template but it was very +// slow. now this thing is not nice on the eyes or easy to change +// but it's pretty fast. which i needed it to for live reloading stuff + const ( programName = "gonicembed" byteCols = 24 diff --git a/server/handler/handler_admin_utils_test.go b/server/handler/handler_admin_utils_test.go index a2a2f2f..2a8e610 100644 --- a/server/handler/handler_admin_utils_test.go +++ b/server/handler/handler_admin_utils_test.go @@ -2,6 +2,8 @@ package handler import "testing" +// silly test for a simple function. i was getting used to +// testing in go at the time. might aswell keep it though func TestFirstExisting(t *testing.T) { cases := []struct { name string