lorenzodonini / ocpp-go

Open Charge Point Protocol implementation in Go
MIT License
262 stars 125 forks source link

Callback in central system/charge point function arguments #64

Open michaelbeaumont opened 3 years ago

michaelbeaumont commented 3 years ago

What do you think about moving the callbacks to be the last argument? I think the code (when using gofmt) is much more readable and callbacks last is typical of callback-based APIs.