go: allow rnd to be inlined