Skip to content

Instantly share code, notes, and snippets.

@tampajohn
Created May 25, 2018 20:05
Show Gist options
  • Save tampajohn/6ca8937d2e996bc4856945f280cd87d8 to your computer and use it in GitHub Desktop.
Save tampajohn/6ca8937d2e996bc4856945f280cd87d8 to your computer and use it in GitHub Desktop.
Golang quine without fmt.Printf
package main
func main() {q := "\x60";(func(p,s string){print(p,q,p,q,",",q,s,q,s)})(`package main
func main() {q := "\x60";(func(p,s string){print(p,q,p,q,",",q,s,q,s)})(`,`)}`)}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment