(location *url.URL)
| 97 | } |
| 98 | |
| 99 | func (loader *Loader) loadFromURIInternal(location *url.URL) (*T, error) { |
| 100 | data, err := loader.readURL(location) |
| 101 | if err != nil { |
| 102 | return nil, err |
| 103 | } |
| 104 | return loader.loadFromDataWithPathInternal(data, location) |
| 105 | } |
| 106 | |
| 107 | func (loader *Loader) allowsExternalRefs(ref string) (err error) { |
| 108 | if !loader.IsExternalRefsAllowed { |
no test coverage detected