refactor gofmt