[go-nuts] Re: MaxDiskSize MaxLogCount for glog?

2022-04-08 Thread peterGo
On Thursday, April 7, 2022 at 2:27:06 PM UTC-4 Jack Li wrote: > Hi group, > > Can glog support the options like how many disk size (ie. 10%, 1.8G, etc.) > all the log files may use in total, and the count (ie. 10) of log files it > can save. For example, logfile1.txt, logfile2.txt, ..., logfil

Re: [go-nuts] Missing /usr/lib/go/pkg/include/ for native binaries

2022-04-08 Thread Tong Sun
On Fri, Apr 8, 2022 at 2:00 AM Jack Li wrote: > > Yes, I download the latest go 1.18 installer for macOS from golang.google.cn. > There's no problem with the installer from the official site. > > > -- Original -- > From: "Ian Lance Taylor"; > Date: 2022年4月8日(星期五) 上

[go-nuts] go/wasm how to test browser APIs

2022-04-08 Thread mi...@ubo.ro
I'm trying to unitest a browser wasm/js application but it seems that the browser objects are missing. I assume that the testing package is using a "serverside" node API so I wonder how can I make go test use a real browser to run the tests. The test below fails func TestTransform(t *testing.T)