Skip to content

Instantly share code, notes, and snippets.

@ggicci
Created May 17, 2021 06:49
Show Gist options
  • Save ggicci/f911e2eb51a6e544520bc8cc9ccd3c30 to your computer and use it in GitHub Desktop.
Save ggicci/f911e2eb51a6e544520bc8cc9ccd3c30 to your computer and use it in GitHub Desktop.
func ListUsers(rw http.ResponseWriter, r *http.Request) {
input := &ListUserInput{}
if err := ParseURLParams(&input); err != nil {
return
}
if input.IsMember // ...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment