mirror of
https://github.com/hanzoai/observability.git
synced 2026-10-30 20:22:53 +00:00
10 lines
413 B
Go
10 lines
413 B
Go
package server
|
|
|
|
import "github.com/hanzoai/base/core"
|
|
|
|
// newID mints a caller-facing external id for an entity created without one
|
|
// (e.g. an annotation score or score config created via the UI with no
|
|
// client-supplied id). Uses Base's canonical record-id generator so the format
|
|
// matches every other id in the system — one way to make an id.
|
|
func newID() string { return core.GenerateDefaultRandomId() }
|