mirror of
https://github.com/foomo/contentfulvalidation.git
synced 2025-10-16 12:25:37 +00:00
21 lines
426 B
Go
21 lines
426 B
Go
package contants
|
|
|
|
import (
|
|
"github.com/foomo/contentfulvalidation/validator"
|
|
)
|
|
|
|
const (
|
|
SeverityFatal validator.Severity = "fatal"
|
|
SeverityError validator.Severity = "error"
|
|
SeverityWarn validator.Severity = "warn"
|
|
SeverityInfo validator.Severity = "info"
|
|
)
|
|
|
|
const (
|
|
HealthError validator.Health = "error"
|
|
HealthWarn validator.Health = "warn"
|
|
HealthOk validator.Health = "ok"
|
|
)
|
|
|
|
const DateFormat = "02 Jan 2006"
|