Skip to content

Custom User.IsAdmin()? #6862

Answered by unknwon
NotLazy asked this question in Q&A
Mar 21, 2022 · 1 comments · 4 replies
Discussion options

You must be logged in to vote

Hey! In Go, you have to use capitalize for public fields, so I think it should be CanAccess.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@NotLazy
Comment options

@unknwon
Comment options

@NotLazy
Comment options

@unknwon
Comment options

Answer selected by NotLazy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants