From 888bff1170d5586a6ef910d0e84f60385aee50b7 Mon Sep 17 00:00:00 2001 From: Moritz Poldrack Date: Sun, 25 Apr 2021 21:08:33 +0200 Subject: added a small quine --- quine/main.go | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 quine/main.go 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)} -- cgit v1.2.3-70-g09d2