utils

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRandomLabelID

func NewRandomLabelID() string

NewRandomLabelID return a new random label/mailbox ID. For debugging purposes, the ID starts with the 'label-' prefix.

func NewRandomMessageID

func NewRandomMessageID() string

NewRandomMessageID return a new random message ID. For debugging purposes, the ID starts with the 'message-' prefix.

func NewRandomUserID

func NewRandomUserID() string

NewRandomUserID return a new random user ID. For debugging purposes, the ID starts with the 'user-' prefix.

func ShortID

func ShortID(id string) string

ShortID return a string containing a short version of the given ID. Use only for debug display.

Types

This section is empty.

Jump to

Keyboard shortcuts

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