Set sets the value of the key in the imports map.
(specifier string, url string)
| 66 | |
| 67 | // Set sets the value of the key in the imports map. |
| 68 | func (i *Imports) Set(specifier string, url string) { |
| 69 | i.lock.Lock() |
| 70 | defer i.lock.Unlock() |
| 71 | i.imports[specifier] = url |
| 72 | } |
| 73 | |
| 74 | // Delete deletes the value of the key in the imports map. |
| 75 | func (i *Imports) Delete(specifier string) { |
no outgoing calls