MCPcopy
hub / github.com/cloudfoundry/cli / NewDatabase

Function NewDatabase

integration/assets/hydrabroker/database/database.go:26–28  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

24}
25
26func NewDatabase() *Database {
27 return &Database{data: make(map[ID]interface{})}
28}
29
30func (db *Database) Create(id ID, value interface{}) {
31 db.mutex.Lock()

Callers 1

database_test.goFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected