-
For `err.(MyErrType)`, the linter says `invalid direct cast on error object`, but sometimes there are legitimate reasons to do so. For example, when implementing `errors.RegisterLeaf{Encoder,Decoder}`…
-
`cmp.FilterValues` expects a function of the signature `func(T, T) bool` where the function is called with values from both the left argument and the right argument.
I propose the addition of `cmpo…
dsnet updated
9 months ago
-
All standard library flags since Go 1.2 implement the Getter interface and I think that pflag should do it too.
https://github.com/golang/go/blob/master/src/flag/flag.go#L306
```go
// Getter is a…
-
## Description
There's this itch that I felt developing with Go through the years and I've been having a hard time nailing what exactly it is.
Here's my attempt at writing it down.
```go
type …
-
Hi guys,
Hope you are all well !
# **1. Env errors**
I just found an error while trying to create dynamic image names with crane as it works well with docker-compose.
**.env:**
```bash
…
-
Heya :wave:
I was checking out gh (the github cli) and it got stuck after running `gh auth login`. So I dug a little and localized the issue in the interaction between this library and keepassxc, w…
-
In the current wallet, we have the ability for the user to send/receive ethers, send/receive PBLCs and sell/buy PBLCs. In near term we wish to integrate Atomic Swap feature for more token pairs inside…
-
Context: https://tour.golang.org/methods/22
As a newbie to Go, I have enjoyed the tutorials and exercises thusfar... until this exercise Re: Readers. I understand the syntax of methods, of return t…
-
## CVE-2022-25912 - High Severity Vulnerability
Vulnerable Libraries - simple-git-1.132.0.tgz, simple-git-2.47.0.tgz
simple-git-1.132.0.tgz
Simple GIT interface for node.js
Library home page: http…
-
# What version of Go are you using (`go version`)?
$ go version
go version go1.13.7 linux/amd64
### Does this issue reproduce with the latest release?
Yes (go1.13.7 is the latest release…