How would this work for you: https://play.golang.org/p/totWmcs8Om
On Saturday, January 7, 2017 at 4:12:01 AM UTC-7, mhh...@gmail.com wrote:
>
> Might work indeed.
>
> Let s see if i feel in such struggle that i rewrite the KeyValueExpr to
> some sort of map assignments.
>
> thanks!
>
> On Saturda
Or this: https://play.golang.org/p/GF97Pk0gbv
On Saturday, January 7, 2017 at 4:12:01 AM UTC-7, mhh...@gmail.com wrote:
>
> Might work indeed.
>
> Let s see if i feel in such struggle that i rewrite the KeyValueExpr to
> some sort of map assignments.
>
> thanks!
>
> On Saturday, January 7, 2017 a
Might work indeed.
Let s see if i feel in such struggle that i rewrite the KeyValueExpr to
some sort of map assignments.
thanks!
On Saturday, January 7, 2017 at 10:42:25 AM UTC+1, Christian Joergensen
wrote:
>
> On Friday, January 6, 2017 at 9:14:08 PM UTC+1, mhh...@gmail.com wrote:
>>
>> yeah
On Friday, January 6, 2017 at 9:14:08 PM UTC+1, mhh...@gmail.com wrote:
>
> yeah, but this output of go/format.Print really hurts me bad,
>
Does everything really have to go directly in the initialization of your
map? How about just going with something like this:
https://play.golang.org/p/vqmzM
yeah, but this output of go/format.Print really hurts me bad,
"call": func(fn interface {
}, args []interface {
}) (interface {
}, error) {
return nil, nil
}, "html": func(args []interface {
}) string {
return ""
}, "index": func(item interface {
}, indices []interface {
}) (interface
On Fri, Jan 6, 2017 at 7:57 PM wrote:
Hi,
> i have a source code rendered like this,
> ...
> I d prefer something like this
> ...
Honestly, the best advice I can give is to quote
https://go-proverbs.github.io/: "Gofmt's style is no one's favorite, yet
gofmt is everyone's favorite."
--
-j
--
Hi,
i have a source code rendered like this,
var some = map[string]interface {
}{"b": func() {
}, "c": func() {
}, "yy": func(s string) b.SomeType {
return b.SomeType{}
}, "zz": func() {
}, "ii": func(s string) a.Tomate {
return nil
}, "uu": func(s string) *b.SomeType {
return nil
}, "