Go를 이용한 HTTP Client 샘플코드 1. 심플한 요청 방법 ( Get Method ) package main import ( "fmt" "io/ioutil" "net/http" ) func Request(cgi string){ resp, _:= http.Get(cgi) data, _ := ioutil.ReadAll(resp.Body) resp.Body.Close() fmt.Print(data) } func main(){ Request() } 2. HTTP client를 생성하여 Request 하는 방법. : Client를 생성하면 http에 필요한 여러가지 헤더정보 등을 추가하여 전송이 가능해진다. package main import ( "fmt" "io/ioutil" "net/http" ) f..

GO 설치하고 구동 하는데 절차는 아래와 같다 1. GO 다운로드 및 설치 2. 환경변수 설정 3. 개발 편의를 위한 IDE 설정 ( VScode기준) 1. Go 다운로드 및 설치 https://golang.org/ The Go Programming Language Download Go Binary distributions available for Linux, macOS, Windows, and more. // You can edit this code! // Click here and start typing. package main import "fmt" func main() { fmt.Println("Hello, 世界") } Hello, World! Conway's Game of Life Fibonac..