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 --- finger/response.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'finger/response.go') diff --git a/finger/response.go b/finger/response.go index 07ca9a1..8612f45 100644 --- a/finger/response.go +++ b/finger/response.go @@ -5,18 +5,18 @@ import ( "io" "strings" - "tildegit.org/tjp/gus" + sr "tildegit.org/tjp/sliderule" ) // Error produces a finger Response containing the error message and Status 1. -func Error(msg string) *gus.Response { +func Error(msg string) *sr.Response { if !strings.HasSuffix(msg, "\r\n") { msg += "\r\n" } - return &gus.Response{Body: bytes.NewBufferString(msg), Status: 1} + return &sr.Response{Body: bytes.NewBufferString(msg), Status: 1} } // Success produces a finger response with a Status of 0. -func Success(body io.Reader) *gus.Response { - return &gus.Response{Body: body} +func Success(body io.Reader) *sr.Response { + return &sr.Response{Body: body} } -- cgit v1.2.3