Re: [go-nuts] Re: Fixed channel capacity in NotifyContext function in os/signals package

2021-07-05 Thread Erman İmer
. > > On Mon, Jul 5, 2021 at 1:09 PM Erman İmer wrote: > >> Thank you! I was confused about the highlighted part "For a channel used >> for notification of *just one* signal value, a buffer of size 1 is >> sufficient.*" *But I am convinced after realizin

Re: [go-nuts] Re: Fixed channel capacity in NotifyContext function in os/signals package

2021-07-05 Thread Erman İmer
case. We only need one signal > value to know the context is cancelled. > > On Mon, Jul 5, 2021 at 12:55 PM Axel Wagner > wrote: > >> On Mon, Jul 5, 2021 at 12:41 PM Erman İmer wrote: >> >>> I think it is not about the context's cancellation. The signal channe

Re: [go-nuts] Re: Fixed channel capacity in NotifyContext function in os/signals package

2021-07-05 Thread Erman İmer
Another former discussion: https://github.com/golang/lint/issues/175 On Mon, Jul 5, 2021 at 1:41 PM Erman İmer wrote: > I think it is not about the context's cancellation. The signal channel > should have a sufficient buffer size. > > Please check the former discussion whi

Re: [go-nuts] Re: Fixed channel capacity in NotifyContext function in os/signals package

2021-07-05 Thread Erman İmer
ng-nuts" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/golang-nuts/PpUBZ1hxBbM/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > golang-nuts+unsubscr...@googlegroups.com. > To view this discussion on the web

[go-nuts] Re: golang in industrial projects

2020-07-24 Thread Erman Imer
Hello, I completed device tests, fixed bugs and updated the repository. Best regards... On Tuesday, July 7, 2020 at 8:26:42 PM UTC+3, Erman Imer wrote: > > Hello, > > I am using these libraries to communicate with Siemens S7 and Modbus Tcp > devices in industrial proj

[go-nuts] Re: Golang json group by

2020-07-13 Thread Erman Imer
Hello, You can use a map, map[string][]Data. Please check the sample code below: https://play.golang.org/p/7JmtoMag86J Best regards... On Sunday, July 12, 2020 at 9:21:43 AM UTC+3, tien...@gmail.com wrote: > > I have function as below > > I have function as below > > func Get DataById(w http.Re

Re: [go-nuts] golang in industrial projects

2020-07-07 Thread Erman İmer
; > [1]: https://github.com/go-lsst/fcs-lpc-motor-ctl > > ‐‐‐ Original Message ‐‐‐ > On Tuesday, July 7, 2020 10:35 AM, Erman Imer wrote: > > Hello, > > I am using these libraries to communicate with Siemens S7 and Modbus Tcp > devices in industrial projects. >

[go-nuts] golang in industrial projects

2020-07-07 Thread Erman Imer
Hello, I am using these libraries to communicate with Siemens S7 and Modbus Tcp devices in industrial projects. https://github.com/ermanimer/ict All comments are wellcome... -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe fro