func loadConfig() map[string]string { … } func requests() chan int { … } // The following example shows how to use Value for periodic program config updates // and propagation of the changes to worker goroutines. func ExampleValue_config() { … } // The following example shows how to maintain a scalable frequently read, // but infrequently updated data structure using copy-on-write idiom. func ExampleValue_readMostly() { … }