diff options
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"), |