MCPcopy
hub / github.com/grafana/tempo / MustNewObjectDecoder

Function MustNewObjectDecoder

pkg/model/object_decoder.go:46–53  ·  view source on GitHub ↗

MustNewObjectDecoder creates a new encoding or it panics

(dataEncoding string)

Source from the content-addressed store, hash-verified

44
45// MustNewObjectDecoder creates a new encoding or it panics
46func MustNewObjectDecoder(dataEncoding string) ObjectDecoder {
47 decoder, err := NewObjectDecoder(dataEncoding)
48 if err != nil {
49 panic(err)
50 }
51
52 return decoder
53}

Callers 1

TestCombinesFunction · 0.85

Calls 1

NewObjectDecoderFunction · 0.70

Tested by 1

TestCombinesFunction · 0.68