-
### Is there an existing feature request for this?
- [X] I have searched the existing issues
### Summary
- Currently, there's a test pipeline for the gin-mongo application, which is a combina…
-
```
#!watchflakes
post
-
our voting directory authority is rather complicated. we should really be using a quickcheck-like generative testing library. golang has such in it's standard library!
https://golang.org/pkg/testin…
-
### Go version
go version go1.23.0 linux/amd64
### Output of `go env` in your module/workspace:
```shell
GO111MODULE=''
GOARCH='amd64'
GOBIN=''
GOCACHE='/home/michael/.cache/go-build'
GO…
-
```
#!watchflakes
post
-
### What did you do?
https://play.golang.org/p/0ITNcl4kXGN
```
$ gotip version
go version devel +8c5de667 Fri Aug 30 08:28:40 2019 +0000 linux/amd64
foo$ gotip mod init foo
go: creating ne…
-
The [snapshot_socket](https://github.com/inspektor-gadget/inspektor-gadget/tree/main/gadgets/snapshot_socket) gadget is missing the tests. We can port them from the built-in gadget (https://github.com…
-
**What is your environment(Kubernetes version, Fluid version, etc.)**
go 1.15、go 1.16
**Describe the bug**
For example, when I exec "go test" in pkg/ddc/goosefs/:
```
$ cd pkg/ddc/goosefs/
$ g…
-
When I replicated the example of direct messaging (section 5.7.5), the record is saved 2 times in mongo, after debugging I found this is caused by the statement: fs.createReadStream(videoPath).pipe(re…
-
Reading on Interfaces:
https://go-book.appspot.com/interfaces.html
Structs:
http://golangtutorials.blogspot.com/2011/06/methods-on-structs.html
Testing in golang: https://nathanleclaire.com/…