Directories ¶
Path | Synopsis |
---|---|
Example provided with help from Fatih Arslan and Gabriel Aszalos.
|
Example provided with help from Fatih Arslan and Gabriel Aszalos. |
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. |
Example is provided with help by Gabriel Aszalos.
|
Example is provided with help by Gabriel Aszalos. |
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. |
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. |
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. |
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. |
Example provided with help from Jason Waldrip.
|
Example provided with help from Jason Waldrip. |
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. |
Click to show internal directories.
Click to hide internal directories.