Last active
May 25, 2018 18:06
-
-
Save tampajohn/de93b5f2388dc9cfd9e0e47483f7a574 to your computer and use it in GitHub Desktop.
Golang quine without magic character counts
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 "fmt" | |
func main() { | |
(func(s string) { fmt.Printf(s, 0x60, s) })(`package main | |
import "fmt" | |
func main() { | |
(func(s string) { fmt.Printf(s, 0x60, s) })(%[1]c%[2]s%[1]c) | |
} | |
`) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment