How to set up the development environment of GoLang?

This article is about setting up the development environment for GoLang.

Instructions

  1. Download Go and install
  2. Update your Visual Studio Code to the latest edition or install the latest edition.
  3. Install the Go extension for vscode from here.
  4. Open your Go project in vscode.
  5. Click install/install all if any popup message is shown. vscode will automatically download all necessary dependencies.
  6. Navigate to your project folder and check for a file named ‘go.mod’.
  7. If ‘go.mod’ is not found then use go mod init command from Powershell.
  8. i.e: go mod init zachai.xyz/verify-api
  9. go.mod file will be created with reference to all used dependencies.
  10. use go get -u github.com/golang/dep/cmd/dep to download dependencies.
  11. use go build to build your project.
  12. and run your project.
  13. Happy coding…😍😍😍

--

--

--

Every lie we tell incurs a debt to the truth. Sooner or later, that debt is paid.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

https://www.binance.com/en/activity/referral-entry?fromActivityPage=true&ref=LIMIT_VLT8YKJ3

Google delete this scam extension.

Firebase Push notification | Swift tutorial

How to Make Your Code Top-Notch —  The Engineer’s Complete Guide to Code Quality

Why Most Software Developers Struggle To Improve

Man wearing luminescent goggles

Zapper Leverages Socket to Power Their Multi Chain Bridge

Day7, The day of frustration

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Faisal AL Mahmud

Faisal AL Mahmud

Every lie we tell incurs a debt to the truth. Sooner or later, that debt is paid.

More from Medium

Custom Middlewares in Go gin

gRPC based CLI chat application in golang

GoFrame 101: Auth middle

Creating Websocket Handshake with Golang from Scratch