aboutsummaryrefslogtreecommitdiff
path: root/src/models/boil_types.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/models/boil_types.go')
-rw-r--r--src/models/boil_types.go13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/models/boil_types.go b/src/models/boil_types.go
index f1157ed..dcf3eb2 100644
--- a/src/models/boil_types.go
+++ b/src/models/boil_types.go
@@ -50,3 +50,16 @@ func makeCacheKey(cols boil.Columns, nzDefaults []string) string {
strmangle.PutBuffer(buf)
return str
}
+
+// Enum values for PostableState
+const (
+ PostableStateHidden string = "hidden"
+ PostableStateVisible string = "visible"
+)
+
+func AllPostableState() []string {
+ return []string{
+ PostableStateHidden,
+ PostableStateVisible,
+ }
+}