Pēteris Caune 6cd4e494e8
Add go example to "manage.py pygmentize" command.
Make sure the Go snippet shows up in the welcome page and also in the check details page.
2019-10-07 15:10:36 +03:00

12 lines
139 B
Plaintext

package main
import "fmt"
import "net/http"
func main() {
_, err := http.Head("PING_URL")
if err != nil {
fmt.Printf("%s", err)
}
}