blotter
blotter copied to clipboard
Golang blog backend
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.0.0-20211109065445-02f5c0300f6e to 0.1.0. Commits See full diff in compare view [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter...
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.0.0-20201203163018-be400aefbc4c to 0.1.0. Commits See full diff in compare view [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter...
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.0.0-20201202161906-c7110b5ffcbb to 0.7.0. Commits See full diff in compare view [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter...
Bumps [golang.org/x/text](https://github.com/golang/text) from 0.3.4 to 0.3.8. Commits 434eadc language: reject excessively large Accept-Language strings 23407e7 go.mod: ignore cyclic dependency for tagging b18d3dd secure/precis: replace bytes.Compare with bytes.Equal 795e854 all: replace...
处理请求的时候好像没使用go原生的context,为啥?用这个HttpContext是因为能带更多信息? ``` // HTTPContext context of a api call type HTTPContext struct { Request *http.Request Response http.ResponseWriter buf *bytes.Buffer header []httpHeader user *user.TypeDB userGot bool } ```
``` panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x38 pc=0xc1032d] goroutine 22 [running]: github.com/chromedp/chromedp.initContextBrowser({0x1f0b0c8, 0xc00007ba40}) /go/pkg/mod/github.com/chromedp/[email protected]/chromedp.go:253 +0xcd github.com/chromedp/chromedp.Run({0x1f0b0c8, 0xc00007ba40}, {0xc000a89cc0, 0x2, 0x2})...