From 9a2da81b11ad0064cca24ce7974827d032309369 Mon Sep 17 00:00:00 2001 From: tjpcc Date: Mon, 1 May 2023 07:56:25 -0600 Subject: name change gus -> sliderule --- gopher/client.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gopher/client.go') diff --git a/gopher/client.go b/gopher/client.go index 8f5ca81..fad9413 100644 --- a/gopher/client.go +++ b/gopher/client.go @@ -6,7 +6,7 @@ import ( "io" "net" - "tildegit.org/tjp/gus" + sr "tildegit.org/tjp/sliderule" ) // Client is used for sending gopher requests and producing the responses. @@ -17,7 +17,7 @@ import ( type Client struct{} // RoundTrip sends a single gopher request and returns its response. -func (c Client) RoundTrip(request *gus.Request) (*gus.Response, error) { +func (c Client) RoundTrip(request *sr.Request) (*sr.Response, error) { if request.Scheme != "gopher" && request.Scheme != "" { return nil, errors.New("non-gopher protocols not supported") } @@ -51,5 +51,5 @@ func (c Client) RoundTrip(request *gus.Request) (*gus.Response, error) { return nil, err } - return &gus.Response{Body: bytes.NewBuffer(response)}, nil + return &sr.Response{Body: bytes.NewBuffer(response)}, nil } -- cgit v1.2.3