()
| 23 | } |
| 24 | |
| 25 | func (k *Kind) String() string { |
| 26 | switch *k { |
| 27 | case InnerKind: |
| 28 | return "inner" |
| 29 | |
| 30 | case OpenKind: |
| 31 | return "global" |
| 32 | default: |
| 33 | return "unknown" |
| 34 | |
| 35 | } |
| 36 | } |
| 37 | |
| 38 | func (k *Kind) Scan(src any) error { |
| 39 | switch v := src.(type) { |
no outgoing calls
no test coverage detected