diff options
author | Moritz Poldrack | 2021-04-25 21:08:33 +0200 |
---|---|---|
committer | Moritz Poldrack | 2021-04-25 21:13:00 +0200 |
commit | 888bff1170d5586a6ef910d0e84f60385aee50b7 (patch) | |
tree | b9564399584c4526577b03c6462835ba4fb14416 /quine | |
parent | 71d6f7a5e9ad9673da235ab0996cd8e6eb50f942 (diff) |
added a small quine
Diffstat (limited to 'quine')
-rw-r--r-- | quine/main.go | 6 |
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)} |