[go-nuts] Re: I'm writing my website in golang but there is issue called 404 page not found

2020-03-08 Thread leszek . kubik
Hello, It would be much clearer if you posted a complete sample of a Go code. Which framework are you using for the server? I guess it could be something with the server config, can it accept POST methods? Did you test the server first, independently of your frontend, by using curl or PostMan?

Re: [go-nuts] How to obtain complete call chain of runtime functions in pprof, like 'mcall'

2020-03-08 Thread Xiangdong JI
Thanks Robert, I'm trying to utilize the tool now, the new output rendered by goanalyzer contains a page for PC:0 goroutines, which were discussed in #29103 , but seems no further details are available, are they considered irrelevant to perf. analysis?

[go-nuts] Re: I'm writing my website in golang but there is issue called 404 page not found

2020-03-08 Thread Brian Candler
Well, I can't see your problem immediately, but you've not made it easy for anyone to help you. Am I going to retype your screen images to replicate the problem? No. Am I going to write a main() function which wraps your code, and then work out what all the import statements need to be to make

Re: [go-nuts] Re: Changing source code in order code to be supported from older Golang versions e.g. Go 1.10

2020-03-08 Thread Jesper Louis Andersen
On Sun, Mar 8, 2020 at 9:31 AM Amnon Baron Cohen wrote: > > There are many ways could try to "help" Dimitrios find ways to run modern > Go code on XP, and help him > extend the lifetime of his fleet of XP machines. But this would keep his > organisation vulnerable to the next > WannaCry attack. S

[go-nuts] Re: Changing source code in order code to be supported from older Golang versions e.g. Go 1.10

2020-03-08 Thread Amnon Baron Cohen
Microsoft stopped supporting XP in 2006. This meant XP machines stopped getting security updates. The following year the WannaCry trojan infected 200,000 XP computers globally, including 80,000 in Britain's National Health Service (including some MRI machines). This caused a major crisis in hosp