-
-
Save hyuki/3893d7b6f741a7383e1e3a904e11e02f to your computer and use it in GitHub Desktop.
raw string literalsの練習
This file contains 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() { | |
prolog := ` | |
<!DOCTYPE html> | |
<html> | |
<body> | |
` | |
epilog := ` | |
</body> | |
</html> | |
` | |
fmt.Println(prolog) | |
fmt.Println("<h1>Hello!</h1>") | |
fmt.Println(epilog) | |
} |
Author
hyuki
commented
Apr 9, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment