Example #1
0
func (task *Task) Key() string {
	return fmt.Sprintf(
		"%s/tasks/%s",
		utils.CleanID(task.AppID),
		task.ID,
	)
}
Example #2
0
func (app *App) Key() string {
	return utils.CleanID(app.ID)
}