How to ensure a Go type implements an interface · HackerTrans