This commit is contained in:
2025-05-17 04:36:06 +07:00
parent 8643af86ee
commit 4bd18ee756
13 changed files with 188 additions and 7 deletions
+5 -1
View File
@@ -24,10 +24,14 @@ func main() {
// Create a gRPC server object
s := grpc.NewServer()
// Attach the Greeter service to the server
repository, err := services.NewRepository()
if err != nil {
panic(err)
}
proto.RegisterEveningDetectiveServer(
s,
app.NewServer(
services.NewServices(),
services.NewServices(repository),
),
)
// Serve gRPC server