From 79c25f398c536cf318268c36da9fe1c25f316d26 Mon Sep 17 00:00:00 2001 From: vadym Date: Fri, 28 Oct 2022 18:16:43 +0300 Subject: [PATCH] 1. import fix 2. missing return values fix --- src/core/link_other.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/core/link_other.go b/src/core/link_other.go index 06d08920..589b5bb8 100644 --- a/src/core/link_other.go +++ b/src/core/link_other.go @@ -6,7 +6,9 @@ package core import ( "encoding/hex" "errors" + "io" "fmt" + "strconv" "net" "net/url" @@ -126,7 +128,7 @@ func (l *links) call(u *url.URL, sintf string) (linkInfo, error) { default: return errors.New("unknown call scheme: " + u.Scheme) } - return nil + return info, nil } func (l *links) listen(u *url.URL, sintf string) (*Listener, error) {