Directories ¶
Path | Synopsis |
---|---|
Sample program to show how to show you how to briefly work with the sql package.
|
Sample program to show how to show you how to briefly work with the sql package. |
patterns
|
|
pool
Example provided with help from Fatih Arslan and Gabriel Aszalos.
|
Example provided with help from Fatih Arslan and Gabriel Aszalos. |
pool/main
This sample program demonstrates how to use the pool package to share a simulated set of database connections.
|
This sample program demonstrates how to use the pool package to share a simulated set of database connections. |
runner
Example is provided with help by Gabriel Aszalos.
|
Example is provided with help by Gabriel Aszalos. |
runner/main
This sample program demonstrates how to use a channel to monitor the amount of time the program is running and terminate the program if it runs too long.
|
This sample program demonstrates how to use a channel to monitor the amount of time the program is running and terminate the program if it runs too long. |
search
Package search : search.go manages the searching of results against Google, Yahoo and Bing.
|
Package search : search.go manages the searching of results against Google, Yahoo and Bing. |
search/main
This sample program demonstrates how to implement a pattern for concurrent requesting results from different systems and either wait for all the results to return or just the first one.
|
This sample program demonstrates how to implement a pattern for concurrent requesting results from different systems and either wait for all the results to return or just the first one. |
semaphore
This sample program demonstrates how to implement a semaphore using channels that can allow multiple reads but a single write.
|
This sample program demonstrates how to implement a semaphore using channels that can allow multiple reads but a single write. |
work
Example provided with help from Jason Waldrip.
|
Example provided with help from Jason Waldrip. |
work/main
This sample program demonstrates how to use the work package to use a pool of goroutines to get work done.
|
This sample program demonstrates how to use the work package to use a pool of goroutines to get work done. |
Sample program to show how to show you how to briefly work with io.
|
Sample program to show how to show you how to briefly work with io. |
Package words provides support for counting words.
|
Package words provides support for counting words. |
Click to show internal directories.
Click to hide internal directories.