feat: embed static files into binary

This commit is contained in:
rramiachraf
2024-05-03 14:47:57 +01:00
parent 2c0f43b8f7
commit 6d6856700b
13 changed files with 74 additions and 39 deletions

View File

@ -21,7 +21,7 @@ func TestSearch(t *testing.T) {
rr := httptest.NewRecorder()
l := utils.NewLogger(os.Stdout)
m := New(l)
m := New(l, &assets{})
m.ServeHTTP(rr, r)