Featured Post

What is Golang and How to install it

Saturday, November 16, 2019

What is Golang and How to install it

Go or  Golang

"Go will be the server language of the future."- Tobias Lütke, Shopify


Go is an open source programming language that makes it easy to build simple, reliable, and efficient software.


It was designed and developed by Robert Griesemer, Rob Pike, and Ken Thompson.With its arrival, It has created an Ocean of New Possibilities!

Benefits of getting started with Golang

Every language has its own pros and cons . Ultimately, it all depends on the learner who chose the programming language that fits best for his/her purpose or interest .

Go development is best suited for those who want to combine concurrency, safety, and simplicity of the code.


So lets jump to the main points that why you should choose Go?


1-Accepted by many Tech- Giants-Golang has been already embraced by Tech Giants like Google , YouTube , Apple, Facebook, Twitter, The New York Times, BBC, IBM etc.


Like Google uses it for YouTube and Google Chrome, Uber achieved the speed of world map processing of 0.1 sec, Netflix adapted their site traffic loads with Go all this shows the power of Go.


2-Open source by nature- means everyone can contribute to the source code of Golang. So there are always chances for its improvement.


3-Fast- The language is having a simple structure and simple syntax. It is completely based on functions and is independent of the classes and type inheritance. This makes it simple, easier and fast to learn.


The compilations in Go doesn't take much time, provide faster feedback and saves time. This makes the development faster and cheaper.


4-Concurrent-  means it can handle multiple processes and run them simultaneously and effectively.


5-Cross-platform- It works smoothly on devices like, Windows, Linux, Unix, , mobile(from 2015 on wards).


6- Garbage Collector Property- It also provides a type of automatic memory management, so you do not  have to care for any type of memory problems! 


This also keeps a check on smooth performance and helps to make concurrency more efficient.


How to install Go!

1: First you need to start downloading and installing with Go IDE distributable. To make things simpler and convenient, use the default installation path at C:\Go




2: Please do ensure that Go binaries are in your Path System environment variables. To verify or to check click System> Advanced system settings, Environment Variable> Open Path under System variables

3: You can use command prompt to verify the Go installations. For this open cmd and type go version 

4: Set up your work-space for Go. This consists of bin/ , pkg/, src/ .

5: Create your GoPATH environment variable and define the Go path work-space. To do this, click System> Advanced system settings> Environment Variables and New under System variables

Now set the variable name to GoPATH and value to your Go work-space path like C:\Project\Go.

Now you are ready to start with Go.

Note:-) Golang comes with a default server deployed somewhere in US, where you can try out executing some code without installing Golang in local environment.

If you get any problems installing, you can ask in the comment section below:
I will be posting my journey with Go, So stay tuned! with me.

THANK YOU





No comments:

Post a Comment