Skip to content

Instantly share code, notes, and snippets.

@bfontaine
Created August 27, 2015 12:28
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 bfontaine/ebfa8bdc2715eccef137 to your computer and use it in GitHub Desktop.
Save bfontaine/ebfa8bdc2715eccef137 to your computer and use it in GitHub Desktop.
package main
import "fmt"
func main() {
p := rune(96)
s := `package main
import "fmt"
func main() {
p := rune(96)
s := %c%s%c
fmt.Printf(s, p, s, p)
}
`
fmt.Printf(s, p, s, p)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment