I am currently migrating a project from PHP to Go and the users part has a lot of roles and all of them have permissions like: view, read, delete, export.
How can i create there roles in Go? I've already created a users struct with a create users one but just cant figure out the roles part and cant find anything.