roles

package
v0.0.0-...-3e1c22f Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2019 License: GPL-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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL