~john-koepi/ubuntu/trusty/golang/default

« back to all changes in this revision

Viewing changes to doc/effective_go.html

  • Committer: Package Import Robot
  • Author(s): Ondřej Surý
  • Date: 2012-05-02 15:44:59 UTC
  • mfrom: (14.1.12 sid)
  • Revision ID: package-import@ubuntu.com-20120502154459-wcmy8ao1325ml619
Tags: 2:1.0.1-1
* Imported Upstream version 1.0.1
* Apply godoc patch to display package list correctly (Closes: #669354)

Show diffs side-by-side

added added

removed removed

Lines of Context:
2291
2291
</p>
2292
2292
<pre>
2293
2293
func (job *Job) Logf(format string, args ...interface{}) {
2294
 
    job.Logger.Logf("%q: %s", job.Command, fmt.Sprintf(format, args))
 
2294
    job.Logger.Logf("%q: %s", job.Command, fmt.Sprintf(format, args...))
2295
2295
}
2296
2296
</pre>
2297
2297
<p>
2479
2479
    }
2480
2480
}
2481
2481
 
2482
 
func Serve(clientRequests chan *clientRequests, quit chan bool) {
 
2482
func Serve(clientRequests chan *Request, quit chan bool) {
2483
2483
    // Start handlers
2484
2484
    for i := 0; i &lt; MaxOutstanding; i++ {
2485
2485
        go handle(clientRequests)