As answers to this Stack Overflow question
reveal, using <!---
and --->
or <!--
and -->
works (view source by clicking "Raw"):
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" | |
"time" | |
) | |
// Suggestions from golang-nuts | |
// http://play.golang.org/p/Ctg3_AQisl |
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( | |
"log" | |
"net/url" | |
"net/http" | |
"net/http/httputil" | |
) | |
func main() { |
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
import ( | |
"net/http" | |
"net/http/httputil" | |
"net/url" | |
"fmt" | |
) | |
func main() { | |
// New functionality written in Go | |
http.HandleFunc("/new", func(w http.ResponseWriter, r *http.Request) { |
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
@echo off | |
goto START | |
------------------------------------------------------- | |
go-path.bat | |
set the GOPATH to current directory | |
Created Sat May 3 20:00:00 2014 |
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 ( | |
"log" | |
"net/http" | |
"net/http/httputil" | |
) | |
func main() { | |
http.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) { |
A simple demo of boltdb.
Compare prefix and range scans with the levelup approach described in the Rod Vagg's article, LevelDB and Node: Getting Up and Running.
See also the intro articles/talks by ...
์์ด์ง๋ง, ์กฐ๊ธ ๋ ์์ธํ๊ฒ ๋งํฌ๋ค์ด ์ฌ์ฉ๋ฒ์ ์๋ดํ๊ณ ์๋
"Markdown Guide (https://www.markdownguide.org/)" ๋ฅผ ๋ณด์๋ ๊ฒ์ ์ถ์ฒํฉ๋๋ค. ^^
์, ๊ทธ๋ฆฌ๊ณ ๋งํฌ๋ค์ด๋ง์ผ๋ก ํํ์ด ๋ถ์กฑํ๋ค๊ณ ๋๋ผ์ ๋ค๋ฉด, HTML ํ๊ทธ๋ฅผ ํ์ฉํ์๋ ๊ฒ๋ ์ข์ต๋๋ค.
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" | |
"math" | |
) | |
func gcd(a, b int) int { | |
for b != 0 { | |
rem := math.Mod(float64(a), float64(b)) |
OlderNewer