#Getting target user and a current user from a request while also checking their permissions
8 messages · Page 1 of 1 (latest)
also define a struct for the params and for the return type
implicit returns could also be useful here to not have to repeat the default initialization
I just mean the second one
And this thing https://go.dev/tour/basics/7 so that you don't repeat the return values on early returns
you're welcome