Hey, I’ve been there! For golang how to use forward proxy, I used this approach:
```go
proxyURL, _ := url.Parse("http://proxy:port")
client := &http.Client{
Transport: &http.Transport{
Proxy: http.ProxyURL(proxyURL),
},
}
```
Also, make sure your proxy server is up and running. I wasted hours debugging only to realize my proxy was down.
```go
proxyURL, _ := url.Parse("http://proxy:port")
client := &http.Client{
Transport: &http.Transport{
Proxy: http.ProxyURL(proxyURL),
},
}
```
Also, make sure your proxy server is up and running. I wasted hours debugging only to realize my proxy was down.
