initial import

This commit is contained in:
SourceFellows
2020-08-21 06:26:40 +02:00
commit e223458dd4
423 changed files with 9871 additions and 0 deletions

View File

@ -0,0 +1,18 @@
package main
import (
"fmt"
"io/ioutil"
"net/http"
)
func main() {
res, err := http.Get("https://google.com")
if err != nil {
panic(err)
}
defer res.Body.Close()
fmt.Println(res.Status)
bites, _ := ioutil.ReadAll(res.Body)
fmt.Println(string(bites))
}