refactor: simplify signals; small optimizations

This commit is contained in:
Joao Goncalves
2025-11-16 19:53:51 -01:00
parent 2bb5d80502
commit 472351d9a5
6 changed files with 32 additions and 122 deletions

View File

@@ -49,7 +49,7 @@ func TestSignal(t *testing.T) {
w := httptest.NewRecorder()
v.mux.ServeHTTP(w, req)
assert.Equal(t, "test", sig.v.Interface())
assert.Equal(t, "test", sig.String())
}
func TestAction(t *testing.T) {