From e183f9cd23380a81071c32f64c91e60f46a7d8cb Mon Sep 17 00:00:00 2001 From: tjpcc Date: Wed, 11 Jan 2023 10:36:56 -0700 Subject: lots more documentation comments --- examples/fileserver/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples') diff --git a/examples/fileserver/main.go b/examples/fileserver/main.go index d7f628b..b38ae76 100644 --- a/examples/fileserver/main.go +++ b/examples/fileserver/main.go @@ -23,7 +23,7 @@ func main() { // build the request handler fileSystem := os.DirFS(".") // Fallthrough tries each handler in succession until it gets something other than "51 Not Found" - handler := gemini.Fallthrough( + handler := gemini.FallthroughHandler( // first see if they're fetching a directory and we have /index.gmi fs.DirectoryDefault(fileSystem, "index.gmi"), // next (still if they requested a directory) build a directory listing response -- cgit v1.2.3