これはGo Advent Calendar 8日目の記事です. こんにちはtaxioです.今はヒーヒー言いながら修論書いてます. 今回はunsafe.Pointerを使ってunsafeなことをしてみます. unsafe.Pointerとは GoDocより, Pointer represents a pointer to an arbitrary type. There are four special operations available for type Pointer that are not available for other types: - A pointer value of any type can be converted to a Pointer. - A Pointer can be converted to a pointer value of any typ