Yes I'm pretty sure that is what happened. I was consolidating random functions into one file which was already using math/rand so when I moved the function which was using crypto/rand there it picked up the math/rand import.
So not goimports problem, my problem for expecting goimports to magically do the right thing like it usually does!
So not goimports problem, my problem for expecting goimports to magically do the right thing like it usually does!