WithIgnoredMethods specifies method names to skip during binding
(methods ...string)
| 36 | |
| 37 | // WithIgnoredMethods specifies method names to skip during binding |
| 38 | func WithIgnoredMethods(methods ...string) ReflectOption { |
| 39 | return func(opts *ReflectOptions) { |
| 40 | opts.IgnoredMethods = append(opts.IgnoredMethods, methods...) |
| 41 | } |
| 42 | } |
| 43 | |
| 44 | // WithIgnoredFields specifies field names to skip during binding |
| 45 | func WithIgnoredFields(fields ...string) ReflectOption { |
no outgoing calls