Default severity: error
Go simplifies &*pointer to pointer and *&value to value. Neither form
copies the underlying data, so code using one as a copy operation is
misleading and usually incorrect.
Bad
copy := &*pointerGood
copy := *pointerDetect pointer round trips that do not copy values.
Default severity: error
Go simplifies &*pointer to pointer and *&value to value. Neither form
copies the underlying data, so code using one as a copy operation is
misleading and usually incorrect.
copy := &*pointercopy := *pointer