helpers for Go reflect