MCPcopy Index your code
hub / github.com/cloudfoundry/cli / NewID

Function NewID

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

Source from the content-addressed store, hash-verified

15}
16
17func NewID() ID {
18 rawGUID, err := uuid.NewV4()
19 if err != nil {
20 panic(err)
21 }
22
23 return ID(rawGUID.String())
24}
25
26func NewDatabase() *Database {
27 return &Database{data: make(map[ID]interface{})}

Callers 1

database_test.goFile · 0.85

Calls 2

IDTypeAlias · 0.85
StringMethod · 0.65

Tested by

no test coverage detected