Documentation ¶ Index ¶ Variables type Repository Constants ¶ This section is empty. Variables ¶ View Source var ( // ErrNotFound not found ErrNotFound = errors.New("not found") ) Functions ¶ This section is empty. Types ¶ type Repository ¶ type Repository interface { GetRole(ctx context.Context, roleName string) (models.Role, error) // TODO: move that role to a shared package or create one here } Repository authentication and authorization repository Source Files ¶ View all Source files repository.go Directories ¶ Show internal Expand all Path Synopsis mocks mongo Click to show internal directories. Click to hide internal directories.