```
var str string
```

is more idiomatic for this type of thing.