summaryrefslogtreecommitdiff
path: root/examples/cowsay
diff options
context:
space:
mode:
authortjpcc <tjp@ctrl-c.club>2023-05-01 07:56:25 -0600
committertjpcc <tjp@ctrl-c.club>2023-05-01 07:56:25 -0600
commit9a2da81b11ad0064cca24ce7974827d032309369 (patch)
tree4313224dc089208423e78bffc3ec50833e35bcea /examples/cowsay
parent21e2758145d100d74013060f7090d84679cae683 (diff)
name change gus -> sliderule
Diffstat (limited to 'examples/cowsay')
-rw-r--r--examples/cowsay/main.go8
1 files changed, 4 insertions, 4 deletions
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")