diff options
author | tjpcc <tjp@ctrl-c.club> | 2023-05-01 07:56:25 -0600 |
---|---|---|
committer | tjpcc <tjp@ctrl-c.club> | 2023-05-01 07:56:25 -0600 |
commit | 9a2da81b11ad0064cca24ce7974827d032309369 (patch) | |
tree | 4313224dc089208423e78bffc3ec50833e35bcea /finger/response.go | |
parent | 21e2758145d100d74013060f7090d84679cae683 (diff) |
name change gus -> sliderule
Diffstat (limited to 'finger/response.go')
-rw-r--r-- | finger/response.go | 10 |
1 files changed, 5 insertions, 5 deletions
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} } |