summaryrefslogtreecommitdiff
path: root/examples/cowsay/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'examples/cowsay/main.go')
-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")