Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrPostNotFound = errors.New("Post not found.")
)
TODO: this is never used?
Functions ¶
func ErrorlnQuit ¶
func ErrorlnQuit(s string, p ...interface{})
ErrorlnQuit logs the message to stderr and exits with an error code.
func Info ¶
Info logs general diagnostic messages, shown only when the -v or --verbose flag is provided.
func InfolnQuit ¶
func InfolnQuit(s string, p ...interface{})
InfolnQuit logs the message to stderr and exits normally (without an error).
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.