(b string)
| 114 | } |
| 115 | |
| 116 | func ReadError(b string) (string, error) { |
| 117 | if len(b) < 1 { |
| 118 | return "", ErrUnexpected |
| 119 | } |
| 120 | |
| 121 | switch b[0] { |
| 122 | default: |
| 123 | return "", ErrUnexpected |
| 124 | case '-': |
| 125 | return readInline(b) |
| 126 | } |
| 127 | } |
| 128 | |
| 129 | func ReadStrings(b string) ([]string, error) { |
| 130 | elems, err := ReadArray(b) |
nothing calls this directly
no test coverage detected