Documentation ¶
Overview ¶
Package testcode contains code and generated code for testing wrapgen. It will only give correct results if "go generate" has run on it, so CI must do that outside of the test.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Arithmetic ¶
type MonitoredArithmetic ¶
type MonitoredArithmetic struct { Wrapped Arithmetic Observe func(operation string, duration time.Duration, success bool) }
Click to show internal directories.
Click to hide internal directories.