Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(162)

Delta Between Two Patch Sets: doc/progs/error2.go

Issue 6218048: code review 6218048: doc/progs: use test/run.go for testing (Closed)
Left Patch Set: Created 12 years, 10 months ago
Right Patch Set: diff -r 272e1dd72156 https://code.google.com/p/go/ Created 12 years, 7 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Right: Side by side diff | Download
« no previous file with change/comment | « doc/progs/error.go ('k') | doc/progs/error3.go » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
(no file at all)
1 // compile
2
1 // Copyright 2011 The Go Authors. All rights reserved. 3 // Copyright 2011 The Go Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style 4 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file. 5 // license that can be found in the LICENSE file.
4 6
5 // This file contains the code snippets included in "Error Handling and Go." 7 // This file contains the code snippets included in "Error Handling and Go."
6 8
7 package main 9 package main
8 10
9 import ( 11 import (
10 "net/http" 12 "net/http"
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 func (ds) NewKey(*ctx, string, string, int, *int) string { return "" } 47 func (ds) NewKey(*ctx, string, string, int, *int) string { return "" }
46 func (ds) Get(*ctx, string, *Record) error { return nil } 48 func (ds) Get(*ctx, string, *Record) error { return nil }
47 49
48 var datastore ds 50 var datastore ds
49 51
50 type Record struct{} 52 type Record struct{}
51 53
52 var viewTemplate *template.Template 54 var viewTemplate *template.Template
53 55
54 func main() {} 56 func main() {}
LEFTRIGHT

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b