Go

From Botdom Wiki
Jump to navigation Jump to search
Go
Go
Appeared in 2009
Latest release 1.0.3


Go is a compiled, concurrent programming language developed by Google.

Having first appeared in 2009, Go aims to provide ease of use, stability, and a powerful language to its developers. Go is cross-platform, and at this time can easily be compiled on Windows, Linux, Mac, and more.

Examples

A simple "Hello, World!" application in Go.

<c>package main

import "fmt"

func main() {

       fmt.Println("Hello, World!")

}</c>


Imports and string concatenation.

<c>package main

import ( "fmt" "math" )

func main() { fmt.Println("Pi = ", math.Pi) }</c>


Bots created with Go