aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--quine/main.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/quine/main.go b/quine/main.go
new file mode 100644
index 0000000..7f5313f
--- /dev/null
+++ b/quine/main.go
@@ -0,0 +1,6 @@
+package main
+import _ "embed"
+import "os"
+//go:embed main.go
+var q []byte
+func main(){f,_:=os.Open("main.go");f.Write(q)}