Files
services/function/handler/function.go
2022-03-03 15:41:11 +00:00

17 lines
292 B
Go

package handler
import (
"regexp"
)
var (
IDFormat = regexp.MustCompilePOSIX("^[a-z0-9-]+$")
NameFormat = regexp.MustCompilePOSIX("^[a-z0-9]+$")
FunctionKey = "function/func/"
OwnerKey = "function/owner/"
ReservationKey = "function/reservation/"
)
type Function struct{}