• Courses
  • YouTube
  • Dev News
  • Technology
  • Blogs
  • Flutter Jobs
  • Contact
    • About Us
    • RegisterLogin
    Navoki
    • Courses
    • YouTube
    • Dev News
    • Technology
    • Blogs
    • Flutter Jobs
    • Contact
      • About Us
    • RegisterLogin

      Go Lang

      • Home
      • Blog
      • Go Lang
      • Golang Setup In Windows
      Golang Windows Setup

      Golang Setup In Windows

      • Posted by Shivam Srivastava
      • Categories Go Lang, Developers
      • Date March 21, 2020
      Spread the love

      Quick Introduction About Golang

      Golang or Go is a procedural programming language. It originally developed by Rob Pike, Robert Griesemer and Ken Thompson at Google however launched after two years as an open-source programming language. Programs are assembled by packages, for efficient management of dependencies. Golang also supports the environment adopting patterns alike to dynamic languages. For e.g., type inference (y := 0 could be a valid declaration of a variable y of type float).

      Purpose of this article?

      As we know Golang is one of the most popular languages nowadays. Today we will learn how to set up Golang in the windows operating system with VS Code and then also make a simple “hello world” program.

      Let’s Begin

      Lets Begin

      • In the first step, we download the Golang installable file for windows. Visit on https://golang.org/dl/ for download Golang exe file.
      • Install downloaded Golang file by a double click as other Software.
      • Now open a terminal and write command go version, you will get Golang version, if you get any error then add Golang path up to bin folder in an environment variable.
      • Now Download Vs Code. Visit on https://code.visualstudio.com/download for download VS Code exe file.
      • Install downloaded VS Code file by a double click as other Software.
      • Open VS Code and go to Extensions and search Go then install it.

      Golangvscode | Golang Setup In Windows

      We have done all the setup that we will need. Now we’re creating a new file with “.go” extension and write code for print “Hello World” on a console. i.e. if you create a file by the name of first then your file should be first.go

      package main
      
      import "fmt"
      
      func main() {
          fmt.Println("hello world")
      }

      Run this code by using command go run first.go


      Done1 | Golang Setup In Windows
      Bookmark(0)

      Please login to bookmark

      Continue with Google
      0

      Tag:go for windows, golang download, golang tutorial, golang windows api, introduction to golang

      • Share:
      author avatar
      Shivam Srivastava

      Mobile Solution [email protected], Android and Flutter Dev, Dart ,Founder of @Navoki, Instructor

      Previous post

      Firebase Cloud Messaging Using Flutter
      March 21, 2020

      Next post

      GOLANG SETUP IN LINUX
      March 23, 2020

      You may also like

      everything-about-flutter-3-in-google-i-o-2022 navoki.com
      Everything about Flutter 3 in Google I/O 2022
      12 May, 2022
      How Video Call works in Flutter
      How Incoming Video Call Notification works in Flutter
      15 April, 2022
      How-to-Create-Flutter-Desktop-Navoki-Blog
      How to Install Flutter on Windows, macOS and Ubuntu
      11 April, 2022


      Categories

      • Android
      • Dart
      • Dart Server
      • Dart Web
      • Developers
      • Flutter
      • Flutter Desktop
      • Flutter Mobile
      • Flutter Web
      • Fuchsia
      • Go Lang
      • Technology
      • Uncategorized

      Recent Post

      • Everything-About-Flutter-3-In-Google-I-O-2022 Navoki.comEverything about Flutter 3 in Google I/O 2022
      • Flutter-Web-Cors-Error-Solved-Navoki.com[SOLVED] Flutter Web CORS Error
      • How Video Call Works In FlutterHow Incoming Video Call Notification works in Flutter

      Subscribe Now

       

      Recent Courses

      Single And Multi Selection Listview In Flutter

      Single and Multi Selection ListView in Flutter

      Go Installation And Variables

      Go Installation and Variables

      List In Dart Programming Language

      List in Dart Programming language

      Variables In Dart Programming Language

      Variables in Dart Programming language

      View All

      DON’T MISS
      FLUTTER UPDATES

      Be the first to know when our blog is published.

      flutter-mobile-mockup

      Check your inbox or spam folder to confirm your subscription.

      Contact

      •   Navoki Technologies Pvt. Ltd.
        JMD Megapolis , Sector 48, Gurugram, Haryana 122018

      Company

      • About Us
      • Blogs
      • Contact
      • Privacy policy
      • Terms & Condition

      Useful Links

      • Courses
      • Youtube
      • Dev News

      Mobile

      Click and Get started in seconds

      "Navoki" is a registered trademark of Navoki.com ® 2020–2030 Navoki Technologies Pvt Ltd.

      • Terms & Condition

      Login with your site account

      Continue with Google

      By "Sign in” above to accept Navoki’s Terms of Service & Privacy Policy.

      Not a member yet? Register now

      Register a new account

      Continue with Google

      By "Sign Up” above to accept Navoki’s Terms of Service & Privacy Policy.

      Are you a member? Login now