Go: Difference between revisions
Jump to navigation
Jump to search
| Line 24: | Line 24: | ||
https://go.dev/ | https://go.dev/ | ||
== Install == | |||
=== Ubuntu === | |||
Standard version: | |||
sudo apt update | |||
sudo apt install golang-go | |||
Latest via PPA: | |||
sudo add-apt-repository ppa:longsleep/golang-backports | |||
sudo apt update | |||
sudo apt install golang-go | |||
Via SNAP: | |||
sudo snap install go --classic | |||
== keywords == | == keywords == | ||
[[Category:Go]] | [[Category:Go]] | ||
Revision as of 08:48, 30 April 2026
Stub for Go programming language
Ungoogable
https://www.google.com/search?q=golang
Issues:
- Name "Go" is ungoogable / hastagable (use golang) *** MOST ANNOYING ***
Hello World
// Hello World
package main
import "fmt"
func main() {
fmt.Println("Hello, world")
}
Online Go Editor and Runner
https://go.dev/
Install
Ubuntu
Standard version:
sudo apt update sudo apt install golang-go
Latest via PPA:
sudo add-apt-repository ppa:longsleep/golang-backports sudo apt update sudo apt install golang-go
Via SNAP:
sudo snap install go --classic