mstmdev

Results 17 comments of mstmdev

> 我在 go 1.17 发现 string 第二种写法也需要加 NOPTR 了 对于此类版本兼容性问题,是否应该对内容进行修订,直接删除新版本不再兼容的写法或者在文中标注该写法支持的版本?

The benchmark test result: Command: ``` go test -test.v -test.bench ^BenchmarkLoggerMiddleware$ ``` Environment: ``` version: go1.18.3 goos: windows goarch: amd64 pkg: github.com/gin-gonic/gin cpu: Intel(R) Core(TM) i7-10700 CPU @ 2.90GHz ```...

> @mstmdev Please provide the benchmark result? The benchmark test result: Command: ``` go test -test.v -test.bench . ./render ``` Environment: ``` version: go1.18.3 goos: windows goarch: amd64 pkg: github.com/gin-gonic/gin/render...

To my understanding, the implementation of `c.Writer` is `responseWriter`, the [responseWriter.Write](https://github.com/gin-gonic/gin/blob/b04917c53e310e3746ec90cd93106cda8c956211/response_writer.go#L76) will call the `WriteHeader` first.

I get it. It looks like it will break some existing conventions.

> Please approve. Failing govulncheck: > > ``` > Vulnerability #1: GO-2022-0969 > HTTP/2 server connections can hang forever waiting for a clean > shutdown that was preempted by a...

> @mstmdev we should remove support `go1.15` next version `v1.19`. Remove `go1.15` support #3361

> 1. A client only needs to configure the connection address of the server, and the client will be registered in the server. > 2. On the server side, the...

So, how to assign the policy 1 to machine A, and the policy 2 to machine B? Do we need a back-end management platform to assign the policies by administrator?

```text +----------+ +----------+ +----------+ +----------+ | | | || | | Disk | | | | | | | | | | || |----(K)--- write file --->| | | |...