How would you structure a program in Golang to ensure that a piece of data remains in volatile memory and is never cached to disk or swap?
I am trying to implement bloom filter for usernames to minimise disk reads.
With reference to Ensuring Secure Data Remains in Memory, I am looking for a solution in golang for a different purpose.