WithEnum appends the parameter with the enum mapping.
(enum ParamEnum)
| 82 | |
| 83 | // WithEnum appends the parameter with the enum mapping. |
| 84 | func WithEnum(enum ParamEnum) ParamOption { |
| 85 | return func(o *paramOpts) { |
| 86 | o.enum = enum |
| 87 | } |
| 88 | } |
| 89 | |
| 90 | // Param defines the layout of the event parameter. |
| 91 | type Param struct { |
no outgoing calls
no test coverage detected