Y
Hacker News
new
|
ask
|
show
|
jobs
by
slicedbrandy
1557 days ago
Now time to update
interface{}
usage and shift to
any
.
$ gofmt -r 'interface{} -> any' -l **/*.go
Replace -l with -w to write.
2 comments
eatonphil
1557 days ago
Is there an actual difference between these or is it just aesthetic? (and shorter)
link
xiaq
1556 days ago
any is an alias of interface{}, so purely aesthetic.
link
rpk788
1557 days ago
well there goes my Hacktoberfest idea
link