Content-Length: 243926 | pFad | http://github.com/Smartproxy/Smartproxy/commit/b092b9f58dfea8db525fe72b4880bf30de9f865a

73 Update README.md · Smartproxy/Smartproxy@b092b9f · GitHub
Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
sakanamk authored Mar 26, 2024
1 parent 68589aa commit b092b9f
Showing 1 changed file with 20 additions and 15 deletions.
35 changes: 20 additions & 15 deletions golang/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,34 +3,38 @@
</a>
</p>

### Disclaimer

If you want to continue development with Golang we highly recommend reading their [documentation](https://golang.org/doc/).

### Prerequisites
<p align="center">
<a href="https://github.com/Smartproxy/Smartproxy"> :house: Main Repository :house: </a>
</p>

* [Golang](https://golang.org/dl/)
## Disclaimer
To continue development with Go, it's highly recommended to read their [documentation](https://golang.org/doc/).

### Installation
## Prerequisites
You'll need the Go programming language installed and set up on your machine.
* [Download Go](https://golang.org/dl/)

1. Once you have your project directory ready for development with GO, open it using Terminal/Command prompt utilising `cd` command.
2. After that, execute the following command to download our proxy setup example file:
You should also have a [Smartproxy account](https://dashboard.smartproxy.com/register) with access to the [dashboard](https://dashboard.smartproxy.com/residential-proxies/proxy-setup) to get your credentials and endpoint information.

## Installation
1. Create a directory for your project.
2. Open the directory using a Terminal tool utilizing the `cd` command.
3. Copy the code directly from [here](https://github.com/Smartproxy/Smartproxy/blob/master/golang/golang.go), or execute the following command to download the proxy setup example file:
`curl https://raw.githubusercontent.com/Smartproxy/Smartproxy/master/golang/golang.go > golang.go`

<img src="https://i.imgur.com/yZunHb6.png" alt="curl smartproxy golang code sample">

3. You should see a new file named `golang.go` in your project folder. Edit it using an editor of your choice.
3. You should see a new file named `golang.go` in your project folder. Open it using an editor of your choice.

4. To setup your username, password and endpoint you would like to use, change the according line in within punctuation marks ('').
4. To run this C# example, set your username, password, and endpoint information you'd like to use and enter them in the following sections of the code:

<img src="https://i.imgur.com/T2KVjPx.png" alt="smartproxy golang proxy username password authentication">

### Usage
## Usage

To execute the GO example, simply write `go run golang.go`
To execute the Go example, simply enter `go run golang.go` in your Terminal tool.

If you did everything correctly, you should see IP details from the target website appearing in your Terminal/Command Prompt.
You should see an IP address in the console window if everything was set up correctly.

<img src="https://i.imgur.com/AtzZ4CU.png">

Expand All @@ -40,4 +44,5 @@ Big thanks to [@moeryomenko](https://github.com/moeryomenko) for submitting this

## Need help?
Email - sales@smartproxy.com
<br><a href="https://smartproxy.com">Live chat 24/7</a>

<a href="https://smartproxy.com">Live chat 24/7</a>

0 comments on commit b092b9f

Please sign in to comment.








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/Smartproxy/Smartproxy/commit/b092b9f58dfea8db525fe72b4880bf30de9f865a

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy