feat(gl): scaffold general ledger grpc service

This commit is contained in:
2026-08-14 18:52:30 +03:30
parent 1863de1f3b
commit b1e0b01598
19 changed files with 3065 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
package grpcadapter
import (
"context"
"testing"
"gl/application/health"
basev1 "gl/gen/base/v1"
)
func TestHealth(t *testing.T) {
response, err := NewHealthHandler(health.NewService(nil)).Health(context.Background(), &basev1.Empty{})
if err != nil {
t.Fatal(err)
}
if !response.Serving || response.DatabaseReady {
t.Fatalf("unexpected response: %+v", response)
}
}