[go-nuts] Re: [ANN] listser/mutexer/channeler: generators.

2017-05-09 Thread mhhcbon
Hi, i want to share some more with you as i feel like it looks good to whoever interested into speeding up his programming experience with go ;) Until now i presented works that took a type T and produce a derived type T2 of it. Easy stuff, not so useful unless you only want to do rpc stuffs. B

[go-nuts] Re: [ANN] listser/mutexer/channeler: generators.

2017-05-04 Thread mhhcbon
hi, happy it helped! On Thursday, May 4, 2017 at 10:13:42 AM UTC+2, Ben Davies wrote: > > Interesting stuff! Thanks for the pointer on > https://github.com/mh-cbon/mutexer >

[go-nuts] Re: [ANN] listser/mutexer/channeler: generators.

2017-05-04 Thread omarshariffdontlikeit
Interesting stuff! Thanks for the pointer on https://github.com/mh-cbon/mutexer , missed that! I have noticed that the https://github.com/mh-cbon/mutexer

[go-nuts] Re: [ANN] listser/mutexer/channeler: generators.

2017-05-03 Thread mhhcbon
hi > Can anyone else recommend any other generators that produce lists/iterators like this? good Q. > Is the resulting generated code safe to use from multiple go routines? The slice itself nop, because, for that you want to use https://github.com/mh-cbon/channeler or https://github.com/mh-c

[go-nuts] Re: [ANN] listser/mutexer/channeler: generators.

2017-05-03 Thread omarshariffdontlikeit
Is the resulting generated code safe to use from multiple go routines? On Saturday, April 29, 2017 at 4:06:27 PM UTC+1, mhh...@gmail.com wrote: > > Hi, > > several generators i made to avoid some duplication. > > https://github.com/mh-cbon/lister > > Package lister is a generator to generate typed

[go-nuts] Re: [ANN] listser/mutexer/channeler: generators.

2017-05-03 Thread omarshariffdontlikeit
This looks really good. Can anyone else recommend any other generators that produce lists/iterators like this? On Saturday, April 29, 2017 at 4:06:27 PM UTC+1, mhh...@gmail.com wrote: > > Hi, > > several generators i made to avoid some duplication. > > https://github.com/mh-cbon/lister > > Packag

[go-nuts] Re: [ANN] listser/mutexer/channeler: generators.

2017-05-02 Thread mhhcbon
Hi, Some more about that. I added tow new generators jsoner / httper. jsoner takes a type in input, parses method args from a json body req, output func params to a json body response. JSON-RPC. httper, takes an http req in input, interprets it as a json-rpc request, pass it to the underlyin

[go-nuts] Re: [ANN] listser/mutexer/channeler: generators.

2017-04-29 Thread mhhcbon
i forgot to say at the end, id love to be able to do cat mystruct.go | lister Tomates | mutexer Tomatex | That d be awesome! :D On Saturday, April 29, 2017 at 5:06:27 PM UTC+2, mhh...@gmail.com wrote: > > Hi, > > several generators i made to avoid some duplication. > > https://github.com/mh