enum

package
v0.0.0-...-d8adeec Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 6, 2022 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var OrderStatus = &struct {
	New        postgres.StringExpression
	Accepted   postgres.StringExpression
	InProccess postgres.StringExpression
	Delivered  postgres.StringExpression
	Calcelled  postgres.StringExpression
}{
	New:        postgres.NewEnumValue("new"),
	Accepted:   postgres.NewEnumValue("accepted"),
	InProccess: postgres.NewEnumValue("in_proccess"),
	Delivered:  postgres.NewEnumValue("delivered"),
	Calcelled:  postgres.NewEnumValue("calcelled"),
}
View Source
var UserRole = &struct {
	Admin   postgres.StringExpression
	Client  postgres.StringExpression
	Courier postgres.StringExpression
}{
	Admin:   postgres.NewEnumValue("admin"),
	Client:  postgres.NewEnumValue("client"),
	Courier: postgres.NewEnumValue("courier"),
}

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL