Popular Categories
0 0

Hi guys when doing go mod vendor I always get an error “error loading module requirements” and when I look closer it says “go: github.com/Sirupsen/logrus@v1.4.2: parsing go.mod: unexpected ..

13 hours ago
2
0 0

I am having a bit of trouble finding packages around Wifi/Wifi monitoring. I know of gopacket, which can parse wifi beacons, but I am more interested in monitoring signal strength. Any ideas? Thanks! submitted ..

gousb windows

Written by
0 0

https://github.com/google/gousb anybody managed to install this package under windows? i’m always getting an error about the missing ‘libusb-1.0.pc’ and nothing I do seems to correct ..

0 0

Hello, ​ I want to create an API which would accept request from JS and would start executing code which would last certain amount of time until conditions are meant. Code would update data every ..

0 0

package main import ( "fmt" ) func main() { innerChan := make(chan string) chanFunc := func() error { innerChan <- "I am in the inner chan" return nil } outterChan := make(chan error) go func() { err := chanFunc() ..

Functional Go

Written by
0 0

Hey all. Looking to start doing some more FP style coding with go and I’m wondering if there’s any framework/tool etc which enforces functional paradigm in code ? Something like staticcheck ..

0 0

Hi, I’ve been using reflect.DeepEqual to compare types, mostly structs. However, in my use case I need empty slices to be equal to nil. reflect.DeepEqual does not do that. Can anyone recommend a library ..