messages

package
v2.3.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2018 License: MIT Imports: 1 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Icon

type Icon string

Icon is the type of the PHID.

const (
	// IconDefault is used for regular messages.
	IconDefault Icon = "http://i.imgur.com/7Hzgo9Y.png"

	// IconCommits is used for commit-related messages.
	IconCommits Icon = "http://i.imgur.com/v8ReRKx.png"

	// IconTasks is used for task-related messages.
	IconTasks Icon = "http://i.imgur.com/jD7rf9x.png"

	// IconRevisions is used for revision-related messages.
	IconRevisions Icon = "http://i.imgur.com/NiPouYj.png"
)

func PhidTypeToIcon

func PhidTypeToIcon(phidType constants.PhidType) Icon

PhidTypeToIcon gets the matching icon for a PHID type.

Jump to

Keyboard shortcuts

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