3 ms·
func GetEntity(r *http.Request, v Entity) error { Shouldn't v be a pointer here?
by a1k0n 14y ago
func GetEntity(r *http.Request, v Entity) error {
Shouldn't v be a pointer here?
- tuxychandru 14y agoNo but it has to be passed a pointer to a structure which implements Entity.