Update + signing of the binaries

This commit is contained in:
2025-12-15 00:46:20 +00:00
parent 4aab8af16f
commit 8423b6ada1
23 changed files with 269 additions and 983 deletions
-5
View File
@@ -88,8 +88,3 @@ func (s *Server) CreateHandler() (http.Handler, error) {
func (s *Server) GetAddress() string {
return fmt.Sprintf(":%s", s.port)
}
// GetDirectory returns the directory being served
func (s *Server) GetDirectory() string {
return s.directory
}
-7
View File
@@ -269,13 +269,6 @@ func TestServer_GetAddress(t *testing.T) {
}
}
func TestServer_GetDirectory(t *testing.T) {
t.Parallel()
s := New("/some/path", "8080")
assert.Equal(t, "/some/path", s.GetDirectory())
}
func TestServer_ServesJSONWithCorrectContentType(t *testing.T) {
tempDir := t.TempDir()