MCPcopy Create free account
hub / github.com/github/gh-aw / boolPtr

Function boolPtr

pkg/workflow/test_helpers_shared_test.go:5–7  ·  view source on GitHub ↗

boolPtr returns a pointer to a bool value. This is a shared helper used by both unit and integration tests.

(b bool)

Source from the content-addressed store, hash-verified

3// boolPtr returns a pointer to a bool value.
4// This is a shared helper used by both unit and integration tests.
5func boolPtr(b bool) *bool {
6 return new(b)
7}
8
9// ptrBool returns a pointer to a bool value.
10func ptrBool(b bool) *bool {

Calls

no outgoing calls

Tested by

no test coverage detected