10 lines
125 B
Plaintext

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