I am currently working on a project that leverages pointers to Bool values in golang. I am using corev1.SecurityContext.RunAsNonRoot which is a *bo...
For further actions, you may consider blocking this person and/or reporting abuse
You can use this code:
or use a helper function, as it will probably be inlined by the compiler.
Note that your isNilbool function is useless. Using a function to do a simple
==
is overkill.thanks for the helpful feedback Maxime - I'll definitely adjust my approach :)