-
A named function type with an error-describing comment should be analyzable, and should be treated as roughly the same as an interface with a single function.
```go
// Errors:
//
// - example-…
-
### Welcome
- [X] Yes, I'm using a binary release within 2 latest major releases. Only such installations are supported.
- [X] Yes, I've searched similar issues on GitHub and didn't find any.
- [X] Y…
-
Update: the current proposal is to permit `return ..., v` to return the zero value for all but the last result, and to return `v` as the last result. The most common use will be `return ..., err`.
…
-
refer - https://github.com/kubernetes/sample-controller
:nerd_face: Do not forget to enable `GO111MODULE`
```bash
sample-controller > ./hack/update-codegen.sh
Generating deepcopy funcs
F08…
-
In runtime.go, `convertCallParameter()` does a decent job of doing what it can. But sometimes I need more. I don't want to write silly wrapper functions, say, to convert a `string` into an `io.Write…
-
Hello, Gotbot Developer here,
I've reviewed your application, and here are my observations:
1. The README lacks detailed instructions for running the app. It seems that the application consists …
-
There was a CVE (High severity) on a dependency hashicorp/go-getter that is fixed in their version 1.7.5.
Using trivy to scan a container, we can see that this image contains the version v1.7.1.
If …
-
Hello fx-ers, I'm curious if an idea like this has been discussed yet:
### Common DI Patterns
Today, I imagine the most common way to construct a concrete type and then depend on the interface is …
-
Motivation
----------
Go's for-loops encourage difficult-to-read code.
1. The Go 1 loop syntax sets the wrong defaults. The syntax is optimized for three-part [`ForClause`](https://golang.org/r…
-
### Overview
I'm working on being able to generate 2D engineering drawings (with title block etc.) from sdfx. It looks like, in order to do this, I'd need to:
- [ ] Be able to generate filled f…