Re: [go-nuts] Syntax problem, please help me

2018-02-15 Thread junije wen
Thanks for your fast response very much! It really helps. 在 2018年2月15日星期四 UTC-6上午10:01:09,Burak Serdar写道: > > On Thu, Feb 15, 2018 at 8:41 AM, junije wen > wrote: > > I'm reading the source code of Iris and trying to reimplement it. > > There is a line I can't understand. > > > > if p, is :=

Re: [go-nuts] Syntax problem, please help me

2018-02-15 Thread Burak Serdar
On Thu, Feb 15, 2018 at 8:41 AM, junije wen wrote: > I'm reading the source code of Iris and trying to reimplement it. > There is a line I can't understand. > > if p, is := e.Engine.(EngineRawExecutor); is { >return p.ExecuteRaw(src, wr, binding) > } > > The define of EngineRawExecutor is > >

[go-nuts] Syntax problem, please help me

2018-02-15 Thread junije wen
I'm reading the source code of Iris and trying to reimplement it. There is a line I can't understand. if p, is := e.Engine.(EngineRawExecutor); is { return p.ExecuteRaw(src, wr, binding) } The define of EngineRawExecutor is EngineRawExecutor interface { // ExecuteRaw is super-simple func