diff --git a/examples/hello/main.go b/examples/hello/main.go index fd916b5..e95f379 100644 --- a/examples/hello/main.go +++ b/examples/hello/main.go @@ -21,6 +21,15 @@ func index(w gopher.ResponseWriter, r *gopher.Request) { Description: "foo", }, ) + w.WriteItem( + gopher.Item{ + Type: gopher.DIRECTORY, + Selector: "/", + Description: "Floodgap", + Host: "gopher.floodgap.com", + Port: 70, + }, + ) } func hello(w gopher.ResponseWriter, r *gopher.Request) {