Differences between revisions 11 and 13 (spanning 2 versions)
Revision 11 as of 2023-01-08 05:40:13
Size: 983
Comment:
Revision 13 as of 2023-01-08 06:07:55
Size: 1574
Comment:
Deletions are marked like this. Additions are marked like this.
Line 43: Line 43:
 * [[Go/ArraysAndSlices|Arrays and Slices]]
 * [[Go/Channels|Channels]]
 * [[Go/Goroutines|Goroutines]]
 * [[Go/Interfaces|Interfaces]]
 * [[Go/Maps|Maps]]
 * [[Go/Pointers|Pointers]]
 * [[Go/Strings|Strings]]
 * [[Go/ArrayAndSlice|Arrays and Slices]]
 * [[Go/Channel|Channels]]
 * [[Go/Goroutine|Goroutines]]
 * [[Go/Interface|Interfaces]]
 * [[Go/Map|Maps]]
 * [[Go/Pointer|Pointers]]
 * [[Go/String|Strings]]
Line 55: Line 55:
 * [[Go/Xml|encoding/xml]]
 * [[Go/Json|encoding/json]]
 * [[Go/EncodingCsv|encoding/csv]]
 * [[Go/EncodingXml|encoding/xml]]
 * [[Go/EncodingJson|encoding/json]]



== Standard Library Modules ==

 * [[Go/Bytes|bytes]]
 * [[Go/EncodingBase64|encoding/base64]]
 * [[Go/Errors|errors]]
 * [[Go/Flag|flag]]
 * [[Go/Fmt|fmt]]
 * [[Go/IO|io]]
 * [[Go/IOFS|io/fs]]
 * [[Go/IOIOUtil|io/ioutil]]
 * [[Go/Math|math]]
 * [[Go/MathRand|math/rand]]
 * [[Go/Mime|mime/quotedprintable]]
 * [[Go/NetHttp|net/http]]
 * [[Go/NetSmtp|net/smtp]]
 * [[Go/NetUrl|net/url]]
 * [[Go/OS|os]]
 * [[Go/Path|path]]
 * [[Go/RegExp|regexp]]
 * [[Go/Sort|sort]]
 * [[Go/StrConv|strconv]]
 * [[Go/Strings|strings]]

Go

The Go programming language, also known as Golang, is a compiled, static-typed language.

The complete toolchain (compiler, dependency management, etc.) is invoked by subcommands of go(1)


Example

A hello world program looks like:

package main

import "fmt"

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

To compile and run the program, try:

go build hello.go
./hello
# or
go run hello.go


Language

Parsers

Standard Library Modules

Tool chain


CategoryRicottone

Go (last edited 2024-03-17 14:58:51 by DominicRicottone)