Documentation ¶
Index ¶
- func DeepEqualStringArray(first []string, second []string) bool
- func GetEnv(key, fallback string) string
- func IntInSlice(a int, list []int) bool
- func NewULID() (ulid.ULID, error)
- func NewULIDAsString() string
- func NewUUID() (uuid.UUID, error)
- func NewUUIDAsString() string
- func NowRFC3339() string
- func StringInSlice(a string, list []string) bool
- type BCrypt
- type Seed
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeepEqualStringArray ¶
DeepEqualStringArray compares []string to []string and returns bool
func IntInSlice ¶
IntInSlice is used to find a int in a list
func StringInSlice ¶
StringInSlice is used to find a string in a list
Types ¶
type BCrypt ¶
type BCrypt struct {
// contains filtered or unexported fields
}
BCrypt is a new type to make handling of the api key easier
type Seed ¶
type Seed struct { Name string `json:"name,omitempty"` Type string `json:"type,omitempty"` Version string `json:"version,omitempty"` Description string `json:"description,omitempty"` }
Seed struct for computing the fingerprint
func (*Seed) Fingerprint ¶
Fingerprint creates a fingerprint for an Event Receiver and a Receiver Group Order matters ["type", "description", "name", "version"]
Click to show internal directories.
Click to hide internal directories.