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

Unified Diff: pkg/present/link.go

Issue 7312072: code review 7312072: go.talks/pkg/present: replace direct file system access...
Patch Set: diff -r 2e320f363bb2 https://code.google.com/p/go.talks Created 12 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/present/image.go ('k') | pkg/present/parse.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/present/link.go
===================================================================
--- a/pkg/present/link.go
+++ b/pkg/present/link.go
@@ -21,7 +21,7 @@
func (l Link) TemplateName() string { return "link" }
-func parseLink(fileName string, lineno int, text string) (Elem, error) {
+func parseLink(ctx *Context, fileName string, lineno int, text string) (Elem, error) {
args := strings.Fields(text)
url, err := url.Parse(args[1])
if err != nil {
« no previous file with comments | « pkg/present/image.go ('k') | pkg/present/parse.go » ('j') | no next file with comments »

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