generate

package
v0.0.0-...-09d31aa Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2022 License: ISC Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ChapterID

func ChapterID() string

ChapterID generates a post ID.

func CommentID

func CommentID() string

CommentID generates a post ID.

func FileID

func FileID() string

FileID generates a file ID.

func FileUploadID

func FileUploadID() string

FileID generates a file ID.

func ID

func ID(prefix string, length int) string

ID generates an ID using crypto-random, falling back to math random when that fails to avoid disrupting operation because of a faulty RNG.

func KeyID

func KeyID() string

func LogID

func LogID(log models.Log) string

LogID generates a log ID in the format is 2019-05-22_191341547_RedrockAgency

func PostID

func PostID() string

PostID generates a post ID.

func StoryID

func StoryID() string

StoryID generates a post ID.

Types

This section is empty.

Jump to

Keyboard shortcuts

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