open-nomad/helper/pointer
Seth Hoenig 62df06c385
pointer: add Merge helper function for merging pointers (#15499)
This PR adds Merge() helper function for choosing which value of two pointers
to use during a larger merge operation.

If 'next' is not nil, use that value, otherwise use the 'previous' value.
2022-12-08 11:09:22 -06:00
..
pointer.go pointer: add Merge helper function for merging pointers (#15499) 2022-12-08 11:09:22 -06:00
pointer_test.go pointer: add Merge helper function for merging pointers (#15499) 2022-12-08 11:09:22 -06:00