Size: 322
Comment:
|
Size: 1597
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 3: | Line 3: |
'''Go''', also known as '''Golang''' is a static typed, compiled programming language. | The '''Go programming language''', also known as '''Golang''', is a compiled, static-typed language. |
Line 13: | Line 13: |
== Toolchain == | == Example == |
Line 15: | Line 15: |
* [[Go/Compiler|Compiler]] | 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 == * [[Go/DataTypes|Data Types]] * [[Go/ArrayAndSlice|Arrays and Slices]] * [[Go/Channel|Channels]] * [[Go/Goroutine|Goroutines]] * [[Go/Interface|Interfaces]] * [[Go/Map|Maps]] * [[Go/Pointer|Pointers]] * [[Go/String|Strings]] == Parsers == * [[Go/EncodingCsv|encoding/csv]] * [[Go/EncodingXml|encoding/xml]] * [[Go/EncodingJson|encoding/json]] == Standard Library Modules == * [[Go/BufIO|bufio]] * [[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]] == Tool chain == * [[Go/Compiler|Compiler]] * [[Go/Modules|Modules]] |
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