(imports map[string]string)
| 613 | } |
| 614 | |
| 615 | func newImports(imports map[string]string) *Imports { |
| 616 | if imports == nil { |
| 617 | imports = map[string]string{} |
| 618 | } |
| 619 | return &Imports{imports: imports} |
| 620 | } |
| 621 | |
| 622 | func normalizeUrl(baseUrl *url.URL, path string) string { |
| 623 | if baseUrl != nil && (strings.HasPrefix(path, "./") || strings.HasPrefix(path, "../")) { |
no outgoing calls