4 ms·
Is there no equivalent to a lexical scope let definition? let { var err := error scoped code }
by jaggederest 5y ago
Is there no equivalent to a lexical scope let definition?
let {
var err := error
scoped code
}
- usrbinbash 5y agoOf course there is: { var err error scoped code }
- ptomato 5y agoyes, you can wrap code in {} to scope it.