Y
Hacker News
new
|
ask
|
show
|
jobs
by
spirit-sparrow
571 days ago
That should not be an issue, unless the code is written in notepad. As for interfaces, a better approach is to return struct and accept interface in your functions wherever it is possible.
1 comments
linhns
568 days ago
Sometimes it's better to to return interfaces, like contract style programming.
link