hokutoseiUtils

package module
v0.0.0-...-715d4e1 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2016 License: MIT Imports: 6 Imported by: 0

README

hokutoseiUtils

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DumpStack

func DumpStack(e interface{}, stack []byte)

DumpStack dump stack trace

func Error

func Error(msg string)

Error print to stdout

func ExceptionDump

func ExceptionDump()

ExceptionDump start watching stack trace

func Fatal

func Fatal(msg string)

Fatal fatal print to stdout

func GetIndexOfCharInStr

func GetIndexOfCharInStr(str, strPattern string) int

GetIndexOfCharInStr retrieve index of char in str

func HandleError

func HandleError(err error)

HandleError http error handler TODO

func Info

func Info(msg string)

Info print to stdout our message

func Init

func Init(host slack.Host)

Init initialize slack API

func IsLocal

func IsLocal() bool

IsLocal detect if server is in local dev

func PrettyPrintTime

func PrettyPrintTime(timeVal time.Time) string

PrettyPrintTime pretty print a time value to readable

Types

This section is empty.

Directories

Path Synopsis
api

Jump to

Keyboard shortcuts

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