We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f87c7be commit d6b2d14Copy full SHA for d6b2d14
sink.go
@@ -71,7 +71,7 @@ func newSinkRegistry() *sinkRegistry {
71
return sr
72
}
73
74
-// RegisterScheme registers the given factory for the specific scheme.
+// RegisterSink registers the given factory for the specific scheme.
75
func (sr *sinkRegistry) RegisterSink(scheme string, factory func(*url.URL) (Sink, error)) error {
76
sr.mu.Lock()
77
defer sr.mu.Unlock()
0 commit comments