(keyPrefix string, key interface{})
| 924 | } |
| 925 | |
| 926 | func formatInvalidKeyError(keyPrefix string, key interface{}) error { |
| 927 | var location string |
| 928 | if keyPrefix == "" { |
| 929 | location = "at top level" |
| 930 | } else { |
| 931 | location = fmt.Sprintf("in %s", keyPrefix) |
| 932 | } |
| 933 | return fmt.Errorf("non-string key %s: %#v", location, key) |
| 934 | } |
| 935 | |
| 936 | // Windows path, c:\\my\\path\\shiny, need to be changed to be compatible with |
| 937 | // the Engine. Volume path are expected to be linux style /c/my/path/shiny/ |
no outgoing calls
no test coverage detected
searching dependent graphs…