break import cycle

This commit is contained in:
Chris Lu
2020-12-07 00:29:17 -08:00
parent 606051cc79
commit fce8803087
5 changed files with 19 additions and 15 deletions

View File

@@ -14,14 +14,6 @@ import (
type Action string
const (
ACTION_READ = "Read"
ACTION_WRITE = "Write"
ACTION_ADMIN = "Admin"
ACTION_TAGGING = "Tagging"
ACTION_LIST = "List"
)
type Iam interface {
Check(f http.HandlerFunc, actions ...Action) http.HandlerFunc
}