regenerate go syntax