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 /examples/gopher_fileserver/main.go | |
parent | 21e2758145d100d74013060f7090d84679cae683 (diff) |
name change gus -> sliderule
Diffstat (limited to 'examples/gopher_fileserver/main.go')
-rw-r--r-- | examples/gopher_fileserver/main.go | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/examples/gopher_fileserver/main.go b/examples/gopher_fileserver/main.go index 172ca87..244f61b 100644 --- a/examples/gopher_fileserver/main.go +++ b/examples/gopher_fileserver/main.go @@ -5,17 +5,17 @@ import ( "log" "os" - "tildegit.org/tjp/gus" - "tildegit.org/tjp/gus/contrib/cgi" - "tildegit.org/tjp/gus/contrib/fs" - "tildegit.org/tjp/gus/gopher" - "tildegit.org/tjp/gus/logging" + sr "tildegit.org/tjp/sliderule" + "tildegit.org/tjp/sliderule/contrib/cgi" + "tildegit.org/tjp/sliderule/contrib/fs" + "tildegit.org/tjp/sliderule/gopher" + "tildegit.org/tjp/sliderule/logging" ) func main() { fileSystem := os.DirFS(".") - handler := gus.FallthroughHandler( + handler := sr.FallthroughHandler( fs.GopherDirectoryDefault(fileSystem, "index.gophermap"), fs.GopherDirectoryListing(fileSystem, nil), cgi.GopherCGIDirectory("/cgi-bin", "./cgi-bin"), |