-
I'm trying to make a small edit to users, to display a navigation item only when the user has a (new) col in the db set to 1, similar to the is_admin col in the db. How can I go about this? I tried adding
What am I missing? I'm not 100% familiar with go, but I'm familiar with a handful of other (slightly similar) languages, so forgive me if this is an obvious thing. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Hey! In Go, you have to use capitalize for public fields, so I think it should be |
Beta Was this translation helpful? Give feedback.
Hey! In Go, you have to use capitalize for public fields, so I think it should be
CanAccess
.