From 91ac6018f6eeb4b127f0498ea16e88e9df3da014 Mon Sep 17 00:00:00 2001 From: cuishuang Date: Tue, 3 Sep 2024 10:13:23 +0800 Subject: [PATCH] chore: fix function name Signed-off-by: cuishuang --- 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()