▲ | spirit-sparrow 7 months 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. | ||
▲ | linhns 7 months ago | parent [-] | |
Sometimes it's better to to return interfaces, like contract style programming. |