Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/codealong-dev/ride-sharing
/ Service
Struct
Service
services/driver-service/service.go:18–21 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
16
}
17
18
type
Service
struct
{
19
drivers []*driverInMap
20
mu sync.RWMutex
21
}
22
23
func
NewService() *Service {
24
return
&Service{
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected