types

package
v0.1.10 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2023 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ContactTypeK = iota
	ContactTypeL
	ContactTypeP
	ContactTypeI
	ContactTypeW
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ContactType

type ContactType int

ContactType type of customer relationship

func ContactTypes

func ContactTypes() []ContactType

ContactTypes ...

func (ContactType) Desc

func (ct ContactType) Desc() string

Desc ...

func (ContactType) String

func (ct ContactType) String() string

func (ContactType) Val

func (ct ContactType) Val() string

Val the value used in html template

type OrgType

type OrgType int

OrgType type of organization (organization/person)

const (
	OrgTypeOrg OrgType = iota
	OrgTypePerson
)

func OrgTypes

func OrgTypes() []OrgType

OrgTypes ...

func (OrgType) Desc

func (ot OrgType) Desc() string

Desc ...

func (OrgType) String

func (ot OrgType) String() string

func (OrgType) Val

func (ot OrgType) Val() string

Val the value used in html template

type RoleType

type RoleType int

RoleType type of user role

const (
	RoleTypeUser RoleType = iota
	RoleTypeAdmin
)

func ParseRoleType

func ParseRoleType(s string) RoleType

ParseRoleType ...

func RoleTypes

func RoleTypes() []RoleType

RoleTypes ...

func (RoleType) Desc

func (rt RoleType) Desc() string

Desc ...

func (RoleType) Val

func (rt RoleType) Val() string

Val the value used in html template

Jump to

Keyboard shortcuts

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