https://codereview.appspot.com/7312072/diff/5001/pkg/present/parse.go File pkg/present/parse.go (right): https://codereview.appspot.com/7312072/diff/5001/pkg/present/parse.go#newcode216 pkg/present/parse.go:216: type ParseContext struct { I would prefer the name ...
11 years, 2 months ago
(2013-02-11 00:51:41 UTC)
#2
I chose the name ParseContext because I think a rendering context is also needed. I ...
11 years, 2 months ago
(2013-02-11 01:59:20 UTC)
#3
I chose the name ParseContext because I think a rendering context is also
needed. I will start a new thread to discuss rendering and come back to this
after rendering is sorted out.
On 11 February 2013 12:59, <gary.burd@gmail.com> wrote: > I chose the name ParseContext because I ...
11 years, 2 months ago
(2013-02-11 02:00:48 UTC)
#4
On 11 February 2013 12:59, <gary.burd@gmail.com> wrote:
> I chose the name ParseContext because I think a rendering context is
> also needed. I will start a new thread to discuss rendering and come
> back to this after rendering is sorted out.
>
Sounds good.
https://codereview.appspot.com/7312072/diff/7008/pkg/present/parse.go File pkg/present/parse.go (right): https://codereview.appspot.com/7312072/diff/7008/pkg/present/parse.go#newcode254 pkg/present/parse.go:254: // DefaultContext is the Context used by Parse. These ...
11 years, 2 months ago
(2013-02-12 21:32:48 UTC)
#8
11 years, 2 months ago
(2013-02-12 23:46:03 UTC)
#10
On 2013/02/12 22:59:03, gburd wrote:
> https://codereview.appspot.com/7312072/diff/5009/pkg/present/parse.go
> File pkg/present/parse.go (right):
>
>
https://codereview.appspot.com/7312072/diff/5009/pkg/present/parse.go#newcode255
> pkg/present/parse.go:255: ctx := Context{ReadFile: ioutil.ReadFile}
> On 2013/02/12 04:01:22, adg wrote:
> > no more DefaultContext? I kinda liked that. It has precedence in go/build
>
> Does a DefaultContext make sense when rendering options are added? Different
> contexts are needed for slides and articles.
Good point. Let's leave the DefaultContext out, for now.
*** Submitted as https://code.google.com/p/go/source/detail?r=2202e5a97fc5&repo=talks *** go.talks/pkg/present: access files through new Context type R=adg CC=golang-dev https://codereview.appspot.com/7312072 ...
11 years, 2 months ago
(2013-02-13 03:45:48 UTC)
#13
Issue 7312072: code review 7312072: go.talks/pkg/present: replace direct file system access...
Created 11 years, 2 months ago by gburd
Modified 10 years, 9 months ago
Reviewers:
Base URL:
Comments: 9