Some utils for go