diff options
| author | Shulhan <ms@kilabit.info> | 2021-03-04 02:37:01 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2021-03-04 02:37:01 +0700 |
| commit | 7690e48e313b8cc41edbde992e6af2ea46b72448 (patch) | |
| tree | 2e990c434265345c43325a0204638fb05812ce27 /lib | |
| parent | 0c787ff87e53adbebaefc8c9b8ac6d3201a79d11 (diff) | |
| download | pakakeh.go-7690e48e313b8cc41edbde992e6af2ea46b72448.tar.xz | |
memfs: update the documentation with latest implementation
Change the wording from "Generate" to "embed" to make it familiar
for others.
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/memfs/doc.go | 5 |
1 files changed, 2 insertions, 3 deletions
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. // |
