Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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 DecamelRegexp ¶ added in v0.9.5
DecamelRegexp return the given string as space delimeted. Note! It's slow. Use Decamel instead. It's left here for learning purposes.
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 the skip frames.
Types ¶
This section is empty.