Various Go hacks