Get returns the resolver builder registered with the given scheme. If no builder is register with the scheme, nil will be returned.
(scheme string)
| 59 | // |
| 60 | // If no builder is register with the scheme, nil will be returned. |
| 61 | func Get(scheme string) Builder { |
| 62 | if b, ok := m[scheme]; ok { |
| 63 | return b |
| 64 | } |
| 65 | return nil |
| 66 | } |
| 67 | |
| 68 | // SetDefaultScheme sets the default scheme that will be used. The default |
| 69 | // scheme is initially set to "passthrough". |
no outgoing calls