@jmoiron "If the struct you’re defining the method on is very large, copying it would be far too expensive than using a value receiver." This advice is theoretically true but false in practice. You need measurements (benchmarks + production impact) before deciding based on this.
jmoiron plays the blues
@jmoiron
@jmoiron
@jmoiron
@jmoiron
@jmoiron
@jmoiron
@jmoiron
@jmoiron
@jmoiron
@jmoiron
@jmoiron
@jmoiron
@jmoiron
@jmoiron
@jmoiron
@jmoiron
@jmoiron
@jmoiron
@jmoiron
@jmoiron