8 ms·
strictly speaking you could use the must pattern and wrap err in there to avoid the constant if err != nil Albeit it transfers repetition from one place to ano
by xkbarkar 2y ago
strictly speaking you could use the must pattern and wrap err in there to avoid the constant if err != nil
Albeit it transfers repetition from one place to another.