Cuong Manh Le
Cuong Manh Le
PR #1240 fixes issue #1239 by moving [prepareHeaders](https://github.com/loadimpact/k6/blob/9c73438c80b896ac16be5b33f8980864d9f32f64/stats/cloud/client.go#L126) inside [Client.Do](https://github.com/loadimpact/k6/pull/1240/files#diff-4be65c9eb531948ce142781f1ed4abb7R111) That fixes the issue, but against original [discussion](https://github.com/loadimpact/k6/pull/1216#discussion_r338993633). There're some problems we can see: - `Client.NewRequest` always serializes data in...
Currently, setup/teaddownTimeout duration if set to `0s` means we can't run setup/teardown functions anymore. With script: ``` import http from 'k6/http'; import { k6 } from 'k6'; export function setup()...
Fixes #332
This program: ``` package main import ( "fmt" "log" "github.com/kelseyhightower/envconfig" ) type U string func (u *U) UnmarshalText(b []byte) error { *u = U(string(b)) return nil } type Env struct...
Split out from https://github.com/golang/go/issues/37174#issuecomment-683899466 > So once we stop supporting releases
I wrote a service named `ctrld`, after installing, verifying that the service is running: ``` $ sudo ./ctrld status Jul 17 15:27:34.000 NTC Service is running $ ./ctrld status Jul...
At b85fa2d6a38c31c6667b7decb7e63b463d85ce18, in [this file](https://github.com/Nghiait123456/GolangAdvance/blob/b85fa2d6a38c31c6667b7decb7e63b463d85ce18/Performance/2_AvoidStringToByteConversion/action_test.go), both `BenchmarkBad` and `BenchmarkGood` causes `[]byte("Hello world")` escape to heap: ``` $ go test -c -gcflags=-m p_test.go # command-line-arguments [command-line-arguments.test] ./p_test.go:8:19: b does not escape...
Hello, Our project use `netlink` library to monitor network changes, the code is straight and simple: https://github.com/Control-D-Inc/ctrld/blob/b9ece6d7b902e9a53f0e1e7618f6bd92eeae2b04/cmd/cli/netlink_linux.go#L14 However, on Ubiquiti Cloud Gateway Fiber device, we received report from our users...