DEV Community

Cover image for Introduction to GO Programming
Srinivasulu Paranduru
Srinivasulu Paranduru

Posted on

Introduction to GO Programming

Table of Contents

  1. Introduction
  2. Go Software
  3. Enable dependency tracking for your code

Introduction :

  • Go is an open-source programming language developed by Google
  • It was designed at Google in 2007 by Robert Griesemer,and Ken Thompson, and publicly announced in November 2009.
  • It is syntactically similar to C, but also has garbage collection, structural typing
  • It is often referred to as Golang to avoid ambiguity and because of its former domain name, golang.org, but its proper name is Go
  • the gopher : The Go gopher was created by renowned illustrator Renee French. It has become a beloved mascot for the Go brand. The Gopher is a reminder of the approachability and fun that comes with the Go brand and language.

Go Software

  • Go to the go website and then click on the download button

  • Go can be installed in multiple Operating systems and information given below

  • Its a straight forward installation, just keep click next to complete the installation.

Enable dependency tracking for your code

  • Try the below command in the software folder go mod init example/hello

go: creating new go.mod: module example/hello

  • Create a file hello.go file
package main

import "fmt"

func main() {
    fmt.Println("Hello, World!")
}

Enter fullscreen mode Exit fullscreen mode
  • Run your code to see the greeting.

go run .

Hello, World!

This article not yet finished

References:

Top comments (0)