In the past when I wanted to 'capture' the log output so that I could check
it in a unit test I would 'hijack' os.Stdout like so
```
var osStdout = os.Stdout
func MyCode (){
log.SetOutput(osStdout)
log.Print("My dog has fleas")
}
```
Which could then be tested thus
```
func TestMyCode(t *testi
Hi All !
Could you please advice me a tool to visualize an ast graph.
Thank you.
--
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 golang-nuts+unsubscr...@googleg
Thanks, Slawomir,
Yeah, gorm connection pooling was the culprit. After I set up the max
connection lifetime it started taking the change in FQDN without
application restart.
We already have a setting for the skip-name-resolve value.
On Fri, Jun 9, 2023 at 11:39 AM Slawomir Pryczek
wrote:
> Prob
Hello everyone,
Do we have any redfish-event-listener written in golang?
--
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 golang-nuts+unsubscr...@googlegroups.com
180 degrees in respect to what? ;)
I'd argue callgraphs have no "natural" orientation, top to bottom is as
good as bottom to top or left to right (right to left feels off to me, but
I read left to right, so I assume that's just a matter of familiarity)
On Monday, 12 June 2023 at 14:26:30 UTC+2