MCPcopy Index your code
hub / github.com/coder/coder / nullUUID

Function nullUUID

coderd/x/chatd/chatdebug/service.go:672–674  ·  view source on GitHub ↗
(id uuid.UUID)

Source from the content-addressed store, hash-verified

670}
671
672func nullUUID(id uuid.UUID) uuid.NullUUID {
673 return uuid.NullUUID{UUID: id, Valid: id != uuid.Nil}
674}
675
676func nullInt64(v int64) sql.NullInt64 {
677 return sql.NullInt64{Int64: v, Valid: v != 0}

Callers 1

CreateRunMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected