Skip to content

Instantly share code, notes, and snippets.

@johncalvinroberts
Last active September 25, 2022 17:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save johncalvinroberts/7668f22325ca75efdfc740f0a5b837a1 to your computer and use it in GitHub Desktop.
Save johncalvinroberts/7668f22325ca75efdfc740f0a5b837a1 to your computer and use it in GitHub Desktop.
An example of a quine in the go programming language
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