Versions in this module Expand all Collapse all v6 v6.0.0 Mar 12, 2023 Changes in this version + const EmojiBytes + type Code struct + func NewCode(token string, amount int, em emojies.Emojies, createdAt time.Time, ...) (Code, error) + func (code Code) CreatedAt() time.Time + func (code Code) ExpiresAt() time.Time + func (code Code) Slice() []string + func (code Code) SpacedString() string + func (code Code) String() string + func (code Code) Token() string + func (code Code) Validate(emojies string) bool + func (code Code) ValidateToken(token string) bool Other modules containing this package github.com/Mobilpadde/moths/v5