roles

package
Version: v0.0.0-...-9e2453e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 2, 2019 License: MPL-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Superuser ...
	Superuser = "superuser"
	// User ...
	User = "user"
)

Variables

This section is empty.

Functions

func IsGreaterThan

func IsGreaterThan(role1, role2 string) (bool, error)

IsGreaterThan returns true if role1 is greater than role2

Types

This section is empty.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL