You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: rbac.go
    path of file: ./repos/gorsk/pkg/utl/rbac
    
    the code of the file until where you have to start completion: package rbac

import (
	"github.com/labstack/echo"

	"github.com/ribice/gorsk"
)

// Service is RBAC application service
type Service struct{}

func checkBool(b bool) error {
	if b {
		return nil
	}
	return echo.ErrForbidden
}

// User returns user data stored in jwt token
func (s Service) User(c echo.Context) gorsk.AuthUser {
	id := c.Get("id").(int)
	companyID := c.Get("company_id")
    
func (s Service) User(c echo.Context) gorsk.AuthUser {
	id := c.Get("id").(int)
	companyID := c.Get("company_id").(int)
	locationID := c.Get("location_id").(int)
	user := c.Get("username").(string)
	email := c.Get("email").(string)
	role := c.Get("role").(gorsk.AccessRole)
	return gorsk.AuthUser{
		ID:         id,
		Username:   user,
		CompanyID:  companyID,
		LocationID: locationID,
		Email:      email,
		Role:       role,
	}
}