3 ms·
could you in theory break this into other functions or no? You could have smaller discrete functions that abstract the handling of each action a little bit and
by no_wizard 3y ago
could you in theory break this into other functions or no?
You could have smaller discrete functions that abstract the handling of each action a little bit and be more reusable, or is that not possible in Go
- ikari_pl 3y agolike Open, Copy...? These shorter functions need to signal their failure somehow, so calling them looks exactly like the example.