-
https://wangbjun.site/2020/coding/golang/function-param-past.html
在很多语言里面,函数传参分为值传递和引用传递,在说明这2者区别之前咱先回顾一下函数的一些概念,函数参数有形参和实参之分,所谓形参就是形式参数,它是指定义函数时候的声明的参数,比如在Golang里面 func do(a string, b int),a和b就是形参…
-
```
CacheFile.PutToken uses os.Create, which creates a world-readable file. Storing
oauth secrets in world-readable files is a bad idea.
Attached diff world-readable.diff fixes that.
But that's not…
-
`git.apache.org/thrift.git` has moved to `github.com/apache/thrift`. This causes the build to fail:
```
# git clone https://github.com/francoispqt/gojay.git
# cd gojay
# go mod tidy
```
Output…
-
- [ ] Email/Text Notifications
- [ ] Allow user to set thresholds (Ideally this will be reflected by yellow/red sections of the gauges)
- [ ] Allow user to provide email/phone number.
-
Go's template packages (`text/template`, `html/template`) do in general work really well. But there are some issues that are hard/impossible to work around.
In the current implementation, a `Templa…
-
```
CacheFile.PutToken uses os.Create, which creates a world-readable file. Storing
oauth secrets in world-readable files is a bad idea.
Attached diff world-readable.diff fixes that.
But that's not…
-
```
CacheFile.PutToken uses os.Create, which creates a world-readable file. Storing
oauth secrets in world-readable files is a bad idea.
Attached diff world-readable.diff fixes that.
But that's not…
-
```
#!watchflakes
post greplogs --dashboard -md -l -e 'runCmdContext' --since=2022-07-14
[2022-08-15T17:42:12-987de34-1f833e4/darwin-amd64-12_0](https://build.golang.org/log/00046e0b005c7660…
-
Hello!
I need to know if the Go team is interested in having `Go Doc` checker in `x/tools` or if we implement it in a third party module.
`Go Doc` comments is common place for issues (especially a…
-
I am unable to import this project with `go get` or `dep`, which never failed me before.
Call to `Parsing meta tags from https://gonum.org/v1/plot?go-get=1 (status code 404)` fails.
The page [http…