Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FuncLogSkip ¶
FuncLogSkip is a log print decorator. The argument skip is the number of stack frames to ascend. e.g.
func FuncName(ctx context.Context){ middleFunc(ctx) } func middleFunc(ctx context.Context){ FuncLogSkip(ctx, 1) // ... }
the funcName is `FuncName`
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.