File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- // Copyright Information.
2-
3- // Example is provided with help by Gabriel Aszalos.
4-
51// This sample program demonstrates how to use the pool package
62// to share a simulated set of database connections.
73package main
Original file line number Diff line number Diff line change 1- // Copyright Information.
2-
31// Example provided with help from Fatih Arslan and Gabriel Aszalos.
42// Package pool manages a user defined set of resources.
53package pool
Original file line number Diff line number Diff line change 1- // Copyright Information.
2-
3- // Example is provided with help by Gabriel Aszalos.
4-
51// This sample program demonstrates how to use a channel to
62// monitor the amount of time the program is running and terminate
73// the program if it runs too long.
Original file line number Diff line number Diff line change 1- // Copyright Information.
2-
31// Example is provided with help by Gabriel Aszalos.
42// Package runner manages the running and lifetime of a process.
53package runner
Original file line number Diff line number Diff line change 1- // Copyright Information.
2-
3- // Example provided with help from Gabriel Aszalos.
4-
51// This sample program demonstrates how to implement a pattern for
62// concurrent requesting results from different systems and either
73// wait for all the results to return or just the first one.
Original file line number Diff line number Diff line change 1- // Copyright Information.
2-
3- // Example provided with help from Gabriel Aszalos.
41// Package search : search.go manages the searching of results
52// against Google, Yahoo and Bing.
63package search
Original file line number Diff line number Diff line change 1- // Copyright Information.
2-
31// Package search : seachers.go contains all the different implementations
42// for the existing searchers.
53package search
Original file line number Diff line number Diff line change 1- // Copyright Information.
2- //
31// This sample program demonstrates how to implement a semaphore using
42// channels that can allow multiple reads but a single write.
53//
Original file line number Diff line number Diff line change 1- // Copyright Information.
2-
3- // Example is provided with help by Jason Waldrip.
4-
51// This sample program demonstrates how to use the work package
62// to use a pool of goroutines to get work done.
73package main
Original file line number Diff line number Diff line change 1- // Copyright Information.
2-
31// Example provided with help from Jason Waldrip.
42// Package work manages a pool of goroutines to perform work.
53package work
You can’t perform that action at this time.
0 commit comments