Teach you how to make go get unimpeded

Source: Internet
Author: User
This is a created article in which the information may have evolved or changed.

There is some heat in golang development, and there are a lot of go rewrite projects or go development innovations on GitHub alone.

Go developers often need to use go get to download and install third-party libraries or software. Often encounter go get unreachable, because these third-party libraries or software or projects corresponding to the site is wall.

Many people use Shadowsocks to turn the wall, but Shadowsocks is based on the SOCKS5 protocol. It's not useful for go get. If we can turn the SOCKS5 agent into an HTTP proxy, then we can access it.

A very cool fellow. A project cow that can convert a SOCKS5 agent to an HTTP proxy has been developed with go. Please click on the link to enter the project and follow the documentation. The settings are very simple and the instructions provided are clear and understandable. As a description, you can start an HTTP proxy on this computer to shadowsocks as a level two agent. After that, you'll be able to get out of the go.

// 在项目的配置文件中配置监听和代理listen = http://127.0.0.1:7777proxy = socks5://127.0.0.1:1080// 之后设置环境变量http_proxy=http://127.0.0.1:7777https_proxy=http://127.0.0.1:7777

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.