Documentation
¶
Index ¶
Constants ¶
View Source
const ( Main Mode = 1 Test Mode = 2 Public ApiKeyType = 1 Secret ApiKeyType = 2 )
https://levelup.gitconnected.com/implementing-enums-in-golang-9537c433d6e2
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ApiKeyType ¶
type ApiKeyType int
func ParseStringToApiKeyTypeEnum ¶
func ParseStringToApiKeyTypeEnum(str string) (ApiKeyType, bool)
func (ApiKeyType) String ¶
func (a ApiKeyType) String() string
type Mode ¶
type Mode int
func ParseStringToModeEnum ¶
ParseStringToModeEnum https://stackoverflow.com/questions/68543604/best-way-to-parse-a-string-to-an-enum
Click to show internal directories.
Click to hide internal directories.