mirror of
https://github.com/kevin-DL/services.git
synced 2026-01-11 10:54:28 +00:00
17 lines
292 B
Go
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{}
|