Praveen M d376271376 cleanup: append pointer instead of value to avoid copying lock value
This commit resolves the govet issue -
`copylocks: call of append copies lock value ... contains sync.Mutex`

Embedding DoNotCopy in a struct is a convention to signal and prevent
shallow copies, as recommended in Go's best practices. This does not
rely on a language feature but is instead a special case within the vet
checker.

For more details, see https://golang.org/issues/8005

Signed-off-by: Praveen M <m.praveen@ibm.com>
2024-07-10 12:18:50 +00:00
..
2023-06-05 04:49:46 +00:00
2023-02-02 14:53:59 +00:00
2023-06-05 04:49:46 +00:00
2023-02-03 08:55:43 +00:00
2024-04-09 06:55:23 +00:00
2024-04-09 06:55:23 +00:00