Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CamelRegexp ¶
CamelRegexp return the given string as space delimeted. Note! it's slow. Use Decamel instead.
func Decamel ¶
Decamel return the given string as space delimeted. It's optimized to split and decamel function names returned from Go call stacks. For more information see its test cases.
func FuncName ¶
FuncName is similar to runtime.Caller, but instead to return program counter or function name with full path, FuncName returns just function name, separated filename, and line number. If frame cannot be found ok is false.
See more information from runtime.Caller. The skip tells how many stack frames are skipped. Note, that FuncName calculates itself to skip frames.
Types ¶
This section is empty.