From 86a1bd4bec8561e0279d8e754f7a3e74472d22f4 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Fri, 23 Oct 2020 20:37:41 -0600 Subject: [PATCH] update examples section --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 36a1435..eb07d5a 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,9 @@ including `vfsgen`, `fileb0x`, `gobindata` and most others. See . -## Example: native file system (os) +## Examples + +### (Native) File System ```go httpfs := http.Dir("/tmp/public/") @@ -22,7 +24,7 @@ if err := vfscopy.CopyAll(vfs, ".", "/tmp/dst/"); nil != err { } ``` -## Example: vfsgen +### vfsgen (http.FileSystem) **Note**: `vfsgen` does not support symlinks or file permissions.