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 --- examples/cowsay/main.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'examples/cowsay/main.go') diff --git a/examples/cowsay/main.go b/examples/cowsay/main.go index 93f50d8..32ba2ea 100644 --- a/examples/cowsay/main.go +++ b/examples/cowsay/main.go @@ -8,9 +8,9 @@ import ( "os" "os/exec" - "tildegit.org/tjp/gus" - "tildegit.org/tjp/gus/gemini" - "tildegit.org/tjp/gus/logging" + sr "tildegit.org/tjp/sliderule" + "tildegit.org/tjp/sliderule/gemini" + "tildegit.org/tjp/sliderule/logging" ) func main() { @@ -36,7 +36,7 @@ func main() { server.Serve() } -var cowsayHandler = gus.HandlerFunc(func(ctx context.Context, req *gus.Request) *gus.Response { +var cowsayHandler = sr.HandlerFunc(func(ctx context.Context, req *sr.Request) *sr.Response { // prompt for a query if there is none already if req.RawQuery == "" { return gemini.Input("enter a phrase") -- cgit v1.2.3