From 7690e48e313b8cc41edbde992e6af2ea46b72448 Mon Sep 17 00:00:00 2001 From: Shulhan Date: Thu, 4 Mar 2021 02:37:01 +0700 Subject: memfs: update the documentation with latest implementation Change the wording from "Generate" to "embed" to make it familiar for others. --- lib/memfs/doc.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'lib') diff --git a/lib/memfs/doc.go b/lib/memfs/doc.go index f865d68f..cf196a8a 100644 --- a/lib/memfs/doc.go +++ b/lib/memfs/doc.go @@ -19,7 +19,6 @@ // Excludes: []string{ // `.*/exclude`, // }, -// WithContent: true, // } // mfs, err := memfs.New(opts) // @@ -50,9 +49,9 @@ // // Thats it! // -// Go Generate +// Go embed // -// memfs also support generating the files into Go generated source file. +// memfs also support embedding the files into Go generated source file. // After we create memfs instance, we call GoGenerate() to dump all directory // and files as Go source code. // -- cgit v1.3-5-g9baa