consts

package
v0.0.0-...-24b4de3 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2018 License: GPL-2.0-only Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FormatCreated       = "%s created"
	FormatFound         = "%s found"
	FormatMissing       = "missing %s"
	FormatAlreadyExists = "%s already exists"
	FormatNotFound      = "%s not found"
	FormatInvalid       = "invalid %s"
	FormatBlank         = "%s cannot be blank"
	FormatValidID       = "%s should be valid id"
	FormatValidUUID     = "%s should be valid uuid"

	Authorized           = "authorized"
	Unauthorized         = "unauthorized"
	MethodNotAllowed     = "method not allowed"
	FriendlyErrorMessage = "an error occurred, please try again later"

	NonNegative = 0
	Positive    = 1

	GET              = "GET"
	POST             = "POST"
	Achievement      = "achievement"
	AchievementID    = "achievement_id"
	Achievements     = "achievements"
	AuthToken        = "auth_token"
	Description      = "description"
	Email            = "email"
	Evidence         = "evidence"
	Evidences        = "evidences"
	Experience       = "experience"
	File             = "file"
	Header           = "header"
	Home             = "home"
	ID               = "id"
	Involvement      = "involvement"
	InvolvementID    = "involvement_id"
	MultimediaType   = "multimedia_type"
	MultimediaTypeID = "multimedia_type_id"
	Name             = "name"
	Page             = "page"
	Password         = "password"
	PictureURL       = "picture_url"
	Profile          = "profile"
	Quest            = "quest"
	QuestAchievement = "quest_achievement"
	QuestID          = "quest_id"
	QuestType        = "quest_type"
	QuestTypeID      = "quest_type_id"
	Quests           = "quests"
	Reward           = "reward"
	RewardType       = "reward_type"
	RewardTypeID     = "reward_type_id"
	Rewards          = "rewards"
	Title            = "title"
	URL              = "url"
	User             = "user"
	UserID           = "user_id"
	Welcome          = "welcome"
)

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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