MCPcopy Create free account
hub / github.com/corestoreio/pkg / IsMongoID

Function IsMongoID

util/validation/validator.go:861–863  ·  view source on GitHub ↗

IsMongoID check if the string is a valid hex-encoded representation of a MongoDB ObjectId.

(str string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

TestIsMongoIDFunction · 0.85

Calls 1

IsHexadecimalFunction · 0.85

Tested by 1

TestIsMongoIDFunction · 0.68