HI All,
been playing with using go to pull data from a few sources and serve a
consolidated view as a webpage.
I've got most of it going ok, but hitting a wall trying to do a totals row
in an output table.
anyone know if the html/template package is able to do this?
the fallback is to prec
Ok,
Thanks for the answers. I've gone down the route of adding totals to my
data structure.
cheers,
CR.
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to gol
HI all,
So I figured Conways game of life would be a good exercise to get my feet
wet with go. Specifically i wanted to make the calculation of the next
board state to be concurrent.
I started a separate goroutine for each cell and then used a pair of
channels to synchronize updating to the
Thanks Egon,
Ok, I take your point that one needs to strike a balance with the work done
in each goroutine to achieve optimum performance.
i understand that each goroutine doing a subblock of the board using
bitmaps would be faster, but as a learning exercise i'm keeping it simple.
In fact I
ok, fair enough. I guess I'm just used to thinking of concurrency in
database terms where locking is involved.
>
>
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email
Anyone got any thoughts on the way I've used channels to synchronize
things?
Would I be much better off using chan bool instead of chan string for
signaling?
I've seen some code that suggests that chan interface{} is a valid. what
can you send on that?
thanks,
CR
--
You received this mes