Re: [go-nuts] Golang and virustotal

2022-05-11 Thread Klaus Post
Hi! You can try 'garble' and see if that helps: https://github.com/burrowers/garble For me, it seems to reduce the number of false positives, but there are still some left. /Klaus -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscrib

Re: [go-nuts] Golang and virustotal

2022-05-11 Thread Roland Müller
Hello, Am Mi., 11. Mai 2022 um 13:44 Uhr schrieb Klaus Post : > Hi! > > You can try 'garble' and see if that helps: > https://github.com/burrowers/garble > > For me, it seems to reduce the number of false positives, but there are > still some left. > > /Klaus > Just a silly question: is the occu

[go-nuts] []int does not implement []any

2022-05-11 Thread Michel Casabianca
Hi gophers! This code https://go.dev/play/p/QHIxegJn3aj doesn't compile. I don't understand why. Anyone would have an explanation? And why this code https://go.dev/play/p/PCSzRkLvXhp fixes it? Thanks for your replies Best regards -- Michel Casabianca -- You received this message because you a

[go-nuts] Re: Golang and virustotal

2022-05-11 Thread Rusco
Regarding: "compile a simple helloworld main ...": My workaround is to insert a import "C" among the other imports. It somehow alters the structure of the binary created and my av no more recognizes the binary. This is actually something which never happened when I am doing some Rust work.

Re: [go-nuts] []int does not implement []any

2022-05-11 Thread 'Axel Wagner' via golang-nuts
When you write [S []any], this means "S must have type []any". `[]int` has type `[]int`, which is different from `[]any`, so this doesn't work - and it can't work: https://blog.merovius.de/posts/2018-06-03-why-doesnt-go-have-variance-in/ When you write [E any, S []E], you say "E must be any type a

Re: [go-nuts] Embedding playground snippets in gist-like way

2022-05-11 Thread Ggicci T'ang
I've implemented a simple js sdk goplay to connect to a reverse proxy to the official go playground service at go.dev/play. Now it seems works smoothly. If you are interested in this, I'd like to share it with you: ggicci.me/goplay. On Tuesday, June 2, 2015