timeformats

package
v1.0.2-0...-73eda60 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnoughTimeRest

func EnoughTimeRest(a, b time.Time) bool

EnoughTimeRest check if it is normal distance in time between messages

func StrTime

func StrTime(t time.Time) string

StrTime convert unix time ti string

func TimeByID

func TimeByID(id string) time.Time

TimeByID find time with nanoseconds using id

func TimeOfMessage

func TimeOfMessage(m *discordgo.MessageCreate) string

TimeOfMessage get timestamp of message

Types

This section is empty.

Jump to

Keyboard shortcuts

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