Re: [go-nuts] Build problems with modules in Docker

2019-04-04 Thread Marcus Franke
Hello, On Wed, Apr 3, 2019 at 3:49 PM David Riley wrote: > A few things. Responses inline. > Will answer inline aswell > > > I have a Makefile does some simple tasks for building, it creates a > tarball of my code directory and starts a docker build -t job. > > Why make a tarball? You'll

[go-nuts] Build problems with modules in Docker

2019-04-03 Thread Marcus Franke
Hello, I have a small project here at work, that does not compile using modules inside the golang docker image. The software resides inside a rather monorepo like repository inside the organizations private repository at github. So far, a great place for the modules, as I can develop the

Re: [go-nuts] Re: Reading os.Stdin, Unbuffered

2017-11-28 Thread Marcus Franke
Hi, Looking at the repository I see there are termios_darwin_amd64, termios_freebsd_amd64, and termios_linux_amd64 files. That package has code for these three operating systems, but no windows support. A terminal on a different OS isn't as standardized as you seem to assume. Robert Solomon

Re: [go-nuts] Re: ssh access

2017-11-28 Thread Marcus Franke
Hi, When you get the password dialog, your connection was made without the ssh key. You will need both versions of your private key. The putty ppk file for putty and the openssh one for your program. Btw, you could install something like the git bash shell on your windows system, this contains

Re: [go-nuts] How to Upload a file using angular4 for browsing and api created in golang?

2017-11-11 Thread Marcus Franke
> > I am working on an application in which I need to upload a file using > Golang and Angular 4.Suppose I have an input type file and an upload button > on the screen. When I browse a file from my system and clicks upload > button.Now following are my queries regarding file upload: > > 1. How

Re: [go-nuts] Problems with regexp

2017-08-30 Thread Marcus Franke
On Mon, Aug 28, 2017 at 07:37:52PM -0700, Hugh S. Myers wrote: > (.*) is greedy… try ([^\[]+) this should consume all till it runs into the > open bracket, your next group… There is this nice webpage https://regex101.com It supports golang as regex flavor, and does a great job at explaining the

Re: [go-nuts] Re: Go UDP performance

2017-02-21 Thread Marcus Franke
Hi, an additional note, don't forget to monitor the netstat udp counter on both servers. % netstat -auns | grep -A 7 "Udp:" Udp: 9381 packets received 0 packets to unknown port received 0 packet receive errors 1009 packets sent 0 receive buffer errors 0 send buffer errors

Re: [go-nuts] Re: golang-beginners channel?

2017-01-05 Thread Marcus Franke
Hi, You should join the gophers slack. There is a golang-newbies channel. pacninja schrieb am Do., 5. Jan. 2017, 16:28: > I'm in if someone starts the channel. > > > On Thursday, January 5, 2017 at 11:44:16 AM UTC+5:30, Jason E. Aten wrote: > > I noticed that rust has

Re: [go-nuts] Re: Chrome not accepting generate_cert.go self-signed SSL certificate

2016-12-29 Thread Marcus Franke
Chrome, like the other browsers use your systems certificate store. Just import the root CA's certificate and you will have a valid chain of trust. Darren Hoo schrieb am Do., 29. Dez. 2016, 09:04: > Try starting chrome from command line with option