Documentation
¶
Index ¶
- Constants
- func CalculateNPS(promoters, detractors, passives int64) float64
- func CoalesceInt(values ...int) int
- func CreateZip(zipFilePath string, files []string) error
- func FormatUnixTimeMillis(timestamp int64) string
- func KeyUserSendSurveyLock(userID string) string
- func KeyUserSurveySentStatus(userID, surveyID string) string
- func KeyUserTeamMembershipFilterCache(userID, surveyID string) string
- func NewID() string
Constants ¶
View Source
const (
UserLockKeyPrefix = "user_lock_"
)
Variables ¶
This section is empty.
Functions ¶
func CalculateNPS ¶
func CoalesceInt ¶
func CreateZip ¶
CreateZip creates a zip file at the specified `zipFilePath` containing the files listed in `files`.
func FormatUnixTimeMillis ¶
func KeyUserSendSurveyLock ¶
func KeyUserSurveySentStatus ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.