timestamp

package
v0.0.0-...-8a39caa Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDayAndHour

func GetDayAndHour(timestamp string) (string, string)

GetDayAndHour Returns the hour and day from the timestamp

func InitTimestampsTable

func InitTimestampsTable(db *sql.DB)

InitTimestampsTable Creates the timestamps table

func UpdateTimestamp

func UpdateTimestamp(message *discordgo.Message)

UpdateTimestamp Updates the hour and day in the DB

Types

This section is empty.

Jump to

Keyboard shortcuts

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