Go
Go is an actively used programming language created in 2009. Go (often referred to as golang) is a programming language created at Google in 2009 by Robert Griesemer, Rob Pike, and Ken Thompson. It is a compiled, statically typed language in the tradition of Algol and C, with garbage collection, limited structural typing, memory safety features and CSP-style concurrent programming features added. The compiler and other language tools originally developed by Google are all free and open source.. Read more on Wikipedia...
11Years Old | 663,845Users | 6,461Jobs |
- Go ranks in the top 1% of languages
- the Go website
- the Go wikipedia page
- Go first appeared in 2009
- Go was created by Rob Pike and Ken Thompson and Robert Griesemer
- file extensions for Go include go
- replit has an online Go repl
- tryitonline has an online Go repl
- See also: assembly-language, linux, freebsd, solaris, alef, apl, bcpl, c, csp, limbo, modula, newsqueak, oberon, occam, pascal, python, smalltalk, crystal, algol, unix, java, utf-8, csharp, rust, erlang, chapel, cilk, mongodb, standard-ml, cobol, fortran, scala, dart
- Have a question about Go not answered here? Email me and let me know how I can help.
Example code from the Hello World Collection:
// Hello world in Go package main import "fmt" func main() { fmt.Printf("Hello World\n") }
Example code from Linguist:
// Autogenerated by Thrift Compiler (1.0.0-dev) // DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING package linguist import ( "bytes" "fmt" "git.apache.org/thrift.git/lib/go/thrift" ) // (needed to ensure safety because of naive import list construction.) var _ = thrift.ZERO var _ = fmt.Printf var _ = bytes.Equal func init() { }
Example code from Wikipedia:
package main import ( "fmt" "time" ) func readword(ch chan string) { fmt.Println("Type a word, then hit Enter.") var word string fmt.Scanf("%s", &word) ch <- word } func timeout(t chan bool) { time.Sleep(5 * time.Second) t <- true } func main() { t := make(chan bool) go timeout(t) ch := make(chan string) go readword(ch) select { case word := <-ch: fmt.Println("Received", word) case <-t: fmt.Println("Timeout.") } }
Trending Repos
repo | stars | description |
---|---|---|
octant | 2406 | A web-based, highly extensible platform for developers to better understand the complexity of Kubernetes clusters. |
learn-go-with-tests | 7624 | Learn Go with test-driven development |
nps | 7403 | 一款轻量级、功能强大的内网穿透代理服务器。支持tcp、udp流量转发,支持内网http代理、内网socks5代理,同时支持snappy压缩、站点保护、加密传输、多路复用、header修改等。支持web图形化管理,集成多用户模式。 |
annie | 7577 | 👾 Fast, simple and clean video downloader |
sampler | 6099 | A tool for shell commands execution, visualization and alerting. Configured with a simple YAML file. |
frp | 27370 | A fast reverse proxy to help you expose a local server behind a NAT or firewall to the internet. |
prometheus | 26226 | The Prometheus monitoring system and time series database. |
the-way-to-go_ZH_CN | 17200 | 《The Way to Go》中文译本,中文正式名《Go 入门指南》 |
loki | 7087 | Like Prometheus, but for logs. |
wtf | 10146 | The personal information dashboard for your terminal. |
crawlab | 2390 | Distributed web crawler admin platform for spiders management regardless of languages and frameworks. |
minikube | 15590 | Run Kubernetes locally |
go | 63142 | The Go programming language |
kubernetes | 57528 | Production-Grade Container Scheduling and Management |
clash | 3405 | A rule-based tunnel in Go. |
reading-go | 4682 | Go 夜读 > Share the related technical topics of Go every week through zoom online live broadcast, every day on the WeChat/Slack to communicate programming technology topics. 每周通过 zoom 在线直播的方式分享 Go 相关的技术话题,每天大家在微信/Slack 上及时沟通交流编程技术话题。 |
istio | 19423 | Connect, secure, control, and observe services. |
pulumi | 3364 | Modern Infrastructure as Code - Create, deploy, and manage infrastructure on any cloud using your favorite language. |
nsq | 16146 | A realtime distributed messaging platform |
mkcert | 20261 | A simple zero-config tool to make locally trusted development certificates with any names you'd like. |
cli | 11779 | A simple, fast, and fun package for building command line apps in Go |
drone | 19329 | Drone is a Container-Native, Continuous Delivery Platform |
goproxy.cn | 1062 | The most trusted Go module proxy in China. |
cortex | 1834 | A multitenant, horizontally scalable Prometheus as a Service |
trivy | 2130 | A Simple and Comprehensive Vulnerability Scanner for Containers, Suitable for CI |
Last updated August 9th, 2020