MCPcopy
hub / github.com/jackc/pgx / mustEncode

Function mustEncode

pgconn/pgconn_test.go:4700–4705  ·  view source on GitHub ↗
(buf []byte, err error)

Source from the content-addressed store, hash-verified

4698}
4699
4700func mustEncode(buf []byte, err error) []byte {
4701 if err != nil {
4702 panic(err)
4703 }
4704 return buf
4705}
4706
4707func TestDeadlineContextWatcherHandler(t *testing.T) {
4708 t.Parallel()

Callers 1

TestSNISupportFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected