commit 8378f098eb10b53d35319df5989161047fe390f4
parent b81665c76e6ad297b384f048ae84e86a2a7655f5
Author: Matsuda Kenji <info@mtkn.jp>
Date: Thu, 4 Jan 2024 09:03:26 +0900
update doc.go
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/doc.go b/doc.go
@@ -20,8 +20,8 @@
// if err != nil {
// log.Print(err)
// }
-// s := lib9p.NewServer(fsys, 8*1024, conn, conn)
-// go s.Serve(context.Background())
+// s := lib9p.NewServer(fsys) // fsys is user defined *FS.
+// go s.Serve(context.Background(), conn, conn)
// }
//
// OpenFile method of [FS] interface is similar to that of [os.OpenFile],