refine for golang