Directories ¶
Path | Synopsis |
---|---|
base is a basic demo of a Go program.
|
base is a basic demo of a Go program. |
chainofios (Chain of IOs) demos how to start a web server, an rpc server, and a general purpose tcp server.
|
chainofios (Chain of IOs) demos how to start a web server, an rpc server, and a general purpose tcp server. |
Package commonutil contains utilities for console like printing a header, etc.
|
Package commonutil contains utilities for console like printing a header, etc. |
datastructsandalgos
|
|
datastructs
Samples for data structures, like lists, tuples, heaps, etc.
|
Samples for data structures, like lists, tuples, heaps, etc. |
eatingrace is a demo of concurrency in Go using math/rand, sync.Once, time.Tick, time.After, goroutines and channels.
|
eatingrace is a demo of concurrency in Go using math/rand, sync.Once, time.Tick, time.After, goroutines and channels. |
grpcsamples
|
|
helloworld/greeter_client
Package main implements a client for Greeter service.
|
Package main implements a client for Greeter service. |
helloworld/greeter_server
Package main implements a server for Greeter service.
|
Package main implements a server for Greeter service. |
hello is a demo of printing a string with a function defined in another package stringutil.
|
hello is a demo of printing a string with a function defined in another package stringutil. |
playgomodules
module
|
|
Package stringutil demonstrates how to define a package besides main.
|
Package stringutil demonstrates how to define a package besides main. |
hello is a demo of printing a string with a function defined in another package stringutil.
|
hello is a demo of printing a string with a function defined in another package stringutil. |
tour
|
|
hello
Command hello is a bunch of simple snippets from the tour of Go.
|
Command hello is a bunch of simple snippets from the tour of Go. |
webserver demos how to start a simple HTTP server.
|
webserver demos how to start a simple HTTP server. |
Click to show internal directories.
Click to hide internal directories.