mirror of
https://github.com/github/codeql.git
synced 2025-12-20 18:56:32 +01:00
13 lines
194 B
Go
13 lines
194 B
Go
package main
|
|
|
|
import "fmt"
|
|
|
|
func niceFetchGood(url string) {
|
|
s, e := fetch(url)
|
|
if e != nil {
|
|
fmt.Printf("Unable to fetch URL: %v\n", e)
|
|
} else {
|
|
fmt.Printf("URL contents: %s\n", s)
|
|
}
|
|
}
|