MCPcopy Create free account
hub / github.com/buildkite/agent-stack-k8s / ptr

Function ptr

cmd/controller/controller_test.go:17–19  ·  view source on GitHub ↗
(v T)

Source from the content-addressed store, hash-verified

15)
16
17func ptr[T any](v T) *T {
18 return &v
19}
20
21func TestReadAndParseConfig(t *testing.T) {
22 expected := config.Config{

Callers 1

TestReadAndParseConfigFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected