Re: [go-nuts] MongoDB Connection Failed

2020-04-06 Thread Gregor Best
Hi Ali, it looks like there's nothing listening on localhost port 27017. Maybe the mongod log has some more information for you. On 06.04.20 15:28, Ali Hassan wrote: clientOptions :=options.Client().ApplyURI("mongodb://localhost:27017")// Connect to MongoDBclient,err

Re: [go-nuts] project mdencode first random file signature

2020-04-06 Thread ankarame
I updated it to Go in the README.md. On Monday, April 6, 2020 at 9:16:26 AM UTC-4, Jan Mercl wrote: > > On Mon, Apr 6, 2020 at 2:38 PM ankarame > > wrote: > > > The user group is named golang-nuts. > > Not go-nuts. > > Yes, the _mailing list_ named golang-nuts definitely exists. We are >

Re: [go-nuts] What version of BoringCrypto is used in the dev.boringcrypto branch?

2020-04-06 Thread Ian Lance Taylor
[ + filippo ] On Mon, Apr 6, 2020 at 2:00 PM ancientlore wrote: > > Hi, we’re needing to use FIPS-validated crypto in a particular deployment. It > looks like the dev.boringcrypto branch would meet our needs well. But I’m > struggling to verify which BoringCrypto version is actually meant when

[go-nuts] What version of BoringCrypto is used in the dev.boringcrypto branch?

2020-04-06 Thread ancientlore
Hi, we’re needing to use FIPS-validated crypto in a particular deployment. It looks like the dev.boringcrypto branch would meet our needs well. But I’m struggling to verify which BoringCrypto version is actually meant when the Go version is 1.14.1b4. Looking at BoringSSL I’m trying map b4 to a

Re: [go-nuts] Re: C++ 11 to Golang convertor

2020-04-06 Thread Andy Balholm
Only 2 named c2go, though, which is the specific confusion I was trying to address. (ESR, in particular, seemed to think that elliotchance/c2go was basically the same tool that the Go team had used to translate the compiler and runtime.) By the way, if you want people to try gocc, a few

Re: [go-nuts] Re: C++ 11 to Golang convertor

2020-04-06 Thread Jan Mercl
On Mon, Apr 6, 2020 at 6:08 PM Andy Balholm wrote: > > In looking back over some of these old conversations about converting C to > Go, I realized that there is some confusion about the different programs > named "c2go". There are basically 2: Make it 3 please: modernc.org/gocc. Experimental,

Re: [go-nuts] Re: C++ 11 to Golang convertor

2020-04-06 Thread Andy Balholm
In looking back over some of these old conversations about converting C to Go, I realized that there is some confusion about the different programs named "c2go". There are basically 2: rsc/c2go is the program that was used to convert the Go runtime, compiler, and linker from C to Go. It is not

[go-nuts] MongoDB Connection Failed

2020-04-06 Thread Ali Hassan
clientOptions := options.Client().ApplyURI("mongodb://localhost:27017") // Connect to MongoDB client, err := mongo.Connect(context.TODO(), clientOptions) if err != nil { log.Fatal(err) } // Check the connection err = client.Ping(context.TODO(), nil) if err != nil { log.Fatal(err) } fmt.

Re: [go-nuts] project mdencode first random file signature

2020-04-06 Thread Jan Mercl
On Mon, Apr 6, 2020 at 2:38 PM ankarame wrote: > The user group is named golang-nuts. > Not go-nuts. Yes, the _mailing list_ named golang-nuts definitely exists. We are right here. Still there's no golang language. Never was. Maybe someone creates one in the future. Google index/search will

Re: [go-nuts] project mdencode first random file signature

2020-04-06 Thread ankarame
The user group is named golang-nuts. Not go-nuts. On Monday, April 6, 2020 at 4:16:28 AM UTC-4, Jan Mercl wrote: > > On Mon, Apr 6, 2020 at 10:00 AM ankarame > > wrote: > > > You can refer to it as Golang. > > You can call it any way you like. But still there's no golang > language. Never

Re: [go-nuts] project mdencode first random file signature

2020-04-06 Thread ankarame
I might be more awesome than him On Monday, April 6, 2020 at 4:49:41 AM UTC-4, Jan Mercl wrote: > > On Mon, Apr 6, 2020 at 10:20 AM ankarame > > wrote: > > > That's not the point. It can be referred to as Golang. > > Here's the point. One thing is how you call it and you _can_ call it > any

Re: [go-nuts] project mdencode first random file signature

2020-04-06 Thread Jan Mercl
On Mon, Apr 6, 2020 at 10:20 AM ankarame wrote: > That's not the point. It can be referred to as Golang. Here's the point. One thing is how you call it and you _can_ call it any way you like. The other thing is that there's no golang language. I can call you John Lennon but you're not becoming

Re: [go-nuts] project mdencode first random file signature

2020-04-06 Thread ankarame
That's not the point. It can be referred to as Golang. These Github Repo's also refer to it as golang. https://github.com/astaxie/build-web-application-with-golang https://github.com/docker-library/golang https://github.com/dariubs/GoBooks https://github.com/geektutu/7days-golang On Monday,

Re: [go-nuts] project mdencode first random file signature

2020-04-06 Thread Jan Mercl
On Mon, Apr 6, 2020 at 10:00 AM ankarame wrote: > You can refer to it as Golang. You can call it any way you like. But still there's no golang language. Never was. -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group

Re: [go-nuts] project mdencode first random file signature

2020-04-06 Thread ankarame
You can refer to it as Golang. https://en.wikipedia.org/wiki/Go_(programming_language) Go language is often referred to as "Golang" because of its domain name, golang.org, but the proper name is Go. On Monday, April 6, 2020 at 3:57:46 AM UTC-4, Jan Mercl wrote: > > On Sun, Jan 14, 2018 at 5:37

Re: [go-nuts] project mdencode first random file signature

2020-04-06 Thread Jan Mercl
On Sun, Jan 14, 2018 at 5:37 AM ankarame wrote: > mdencode is written in golang and uses an interface for pluggin formatters. The name of the language is Go. There's no golang language. -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To

Re: [go-nuts] Json encoder produces base64

2020-04-06 Thread Shane H
OMG, it was my *test* that was modifying the value... Thanks so much for your time On Monday, April 6, 2020 at 4:24:10 PM UTC+10, Jakob Borg wrote: > > Hi Shane, > > This doesn't happen with your example: > https://play.golang.org/p/C3zb6Qyx-2f > > Can you provide a small example of when it

Re: [go-nuts] Json encoder produces base64

2020-04-06 Thread Jakob Borg
Hi Shane, This doesn't happen with your example: https://play.golang.org/p/C3zb6Qyx-2f Can you provide a small example of when it does happen? //jb On 6 Apr 2020, at 08:03, Shane H mailto:shane@gmail.com>> wrote: I know that it's documented that the json encoder will produce base64

[go-nuts] Json encoder produces base64

2020-04-06 Thread Shane H
I know that it's documented that the json encoder will produce base64 "Array and slice values encode as JSON arrays, except that []byte encodes as a base64-encoded string", but I am getting a base64 response when I pass in a string response := []string response = append(response,