Go Recipes

From NovaOrdis Knowledge Base
Jump to navigation Jump to search

TO DEPLETE and MERGE

Into Go Code Examples

Internal

Files

Network

  • RPC - Introducing Go page 89

Command Line Parsing

Go Command Line Parsing

Concurrency

Logging

Changing the Logging Device

Sleeping

sleep

Miscellaneous

  • Using channels to monitor the amount of time a program is running and time it out, signals: "Go in Action" Section 7.1 Runner (page 179), playground/go/go-in-action/runner
  • Pooling "Go in Action" Section 7.2 page 188
  • Workers "Go in Action" Section 7.3 page 198

Conventions and Idioms