From d6b2d14fc541ed17b31b794afc139f03648842ca Mon Sep 17 00:00:00 2001 From: cui fliter Date: Tue, 3 Sep 2024 23:24:09 +0800 Subject: [PATCH] chore: fix function name (#1463) --- sink.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sink.go b/sink.go index 499772a00..92202280f 100644 --- a/sink.go +++ b/sink.go @@ -71,7 +71,7 @@ func newSinkRegistry() *sinkRegistry { return sr } -// RegisterScheme registers the given factory for the specific scheme. +// RegisterSink registers the given factory for the specific scheme. func (sr *sinkRegistry) RegisterSink(scheme string, factory func(*url.URL) (Sink, error)) error { sr.mu.Lock() defer sr.mu.Unlock()