util

package
v0.0.0-...-b00782e Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2016 License: MIT Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseTime

func ParseTime(t time.Time) string

ParseTime retrieves a string from the passed time.

Types

type Command

type Command struct {
	ID         string
	OriginUser string
	Message    Message
}

Command contains command data.

type Message

type Message struct {
	User      string
	Contents  string
	Timestamp time.Time
}

Message contains message data.

Jump to

Keyboard shortcuts

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