aboutsummaryrefslogtreecommitdiff
path: root/weed/command/scaffold/example.go
diff options
context:
space:
mode:
authorChris Lu <chrislusf@users.noreply.github.com>2021-07-04 21:38:15 -0700
committerGitHub <noreply@github.com>2021-07-04 21:38:15 -0700
commit4ab25fa39533f254bb8dac780ce6b005a9dbc80c (patch)
tree757bc2cc45fc1016cb89b33a83bc2d50554b0efa /weed/command/scaffold/example.go
parent5bcc77b46cd96c096bad7afbd8544496d828cff6 (diff)
parent5dbbe19c8b3d7081de90f282189cc9589d29581c (diff)
downloadseaweedfs-4ab25fa39533f254bb8dac780ce6b005a9dbc80c.tar.xz
seaweedfs-4ab25fa39533f254bb8dac780ce6b005a9dbc80c.zip
Merge pull request #2181 from bingoohuang/master
extract embed toml example to separate files
Diffstat (limited to 'weed/command/scaffold/example.go')
-rw-r--r--weed/command/scaffold/example.go21
1 files changed, 21 insertions, 0 deletions
diff --git a/weed/command/scaffold/example.go b/weed/command/scaffold/example.go
new file mode 100644
index 000000000..6be6804e5
--- /dev/null
+++ b/weed/command/scaffold/example.go
@@ -0,0 +1,21 @@
+package scaffold
+
+import _ "embed"
+
+//go:embed filer.toml
+var Filer string
+
+//go:embed notification.toml
+var Notification string
+
+//go:embed replication.toml
+var Replication string
+
+//go:embed security.toml
+var Security string
+
+//go:embed master.toml
+var Master string
+
+//go:embed shell.toml
+var Shell string