aboutsummaryrefslogtreecommitdiff
path: root/cmd/within.website/dev.go
diff options
context:
space:
mode:
authorChristine Dodrill <me@christine.website>2019-06-15 20:07:29 -0400
committerChristine Dodrill <me@christine.website>2019-06-15 20:09:17 -0400
commit598268d233e69586bcc5886fff149b506dc496e5 (patch)
treefbd0071cd82e08dab34103823ed2134a6473768f /cmd/within.website/dev.go
parentd6c93f6c9ebe6efa26180d04cfeedda9ddec31c6 (diff)
downloadx-598268d233e69586bcc5886fff149b506dc496e5.tar.xz
x-598268d233e69586bcc5886fff149b506dc496e5.zip
cmd/within.website: use vfsgen
Diffstat (limited to 'cmd/within.website/dev.go')
-rw-r--r--cmd/within.website/dev.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/cmd/within.website/dev.go b/cmd/within.website/dev.go
new file mode 100644
index 0000000..1417c41
--- /dev/null
+++ b/cmd/within.website/dev.go
@@ -0,0 +1,7 @@
+//+build dev
+
+package main
+
+import "net/http"
+
+var assets http.FileSystem = http.Dir("./static")