Last active
September 25, 2022 17:22
-
-
Save johncalvinroberts/7668f22325ca75efdfc740f0a5b837a1 to your computer and use it in GitHub Desktop.
An example of a quine in the go programming language
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
_ "embed" | |
) | |
//go:embed main.go | |
var code string | |
func main() { | |
println(code) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment