(string2 string)
| 69 | } |
| 70 | |
| 71 | func ParseKind(string2 string) Kind { |
| 72 | switch string2 { |
| 73 | case "inner", "0": |
| 74 | return InnerKind |
| 75 | case "global", "1": |
| 76 | return OpenKind |
| 77 | default: |
| 78 | return OpenKind |
| 79 | } |
| 80 | } |
| 81 | |
| 82 | func (k *Kind) Value() (driver.Value, error) { |
| 83 | if *k == unKnownKind { |
no outgoing calls
no test coverage detected