Re: [go-nuts] Re: Golang API to fetch available versions and release features

2022-06-13 Thread Zach Hoffman
You can check out the source code for https://go.dev/dl/ at https://github.com/golang/website/blob/master/internal/dl/dl.go On Mon, Jun 13, 2022 at 11:31 PM durgasomes...@gmail.com < durgasomeswararao...@gmail.com> wrote: > Hi Amnon, > > Thanks for the information you shared. > Where can I expl

[go-nuts] Re: Golang API to fetch available versions and release features

2022-06-13 Thread durgasomes...@gmail.com
Hi Amnon, Thanks for the information you shared. Where can I explore all the available APIs like you shared. I have to explore and decide which one will helpful for me. On Tuesday, June 14, 2022 at 1:58:14 AM UTC+5:30 Amnon wrote: > does > https://go.dev/dl/?mode=json > have the info you

[go-nuts] Re: Go 1.19 Beta 1 is released

2022-06-13 Thread Duke
Got it done! Thx .. On Monday, June 13, 2022 at 9:17:57 p.m. UTC-6 ben...@gmail.com wrote: > It doesn't replace the default "go" binary, but creates a new versioned > one in the usual go-install path (~/go/bin, which a lot of folks add to > their PATH). So you have to type "go1.19beta1" instead

[go-nuts] Re: Go 1.19 Beta 1 is released

2022-06-13 Thread ben...@gmail.com
It doesn't replace the default "go" binary, but creates a new versioned one in the usual go-install path (~/go/bin, which a lot of folks add to their PATH). So you have to type "go1.19beta1" instead of "go": $ which go1.19beta1 /home/duke/go/bin/go1.19beta1 $ go1.19beta1 version go version go1.1

[go-nuts] Re: Go 1.19 Beta 1 is released

2022-06-13 Thread Duke
On Friday, June 10, 2022 at 11:51:02 a.m. UTC-6 anno...@golang.org wrote: > > If you have Go installed already, the easiest way to try go1.19beta1 > is by using the go command: > $ go install golang.org/dl/go1.19beta1@latest > $ go1.19beta1 download > I did this on my Linux distro, but nothing hap

[go-nuts] Re: Golang API to fetch available versions and release features

2022-06-13 Thread Amnon
does https://go.dev/dl/?mode=json have the info you need? On Monday, 13 June 2022 at 17:08:03 UTC+1 durgasomes...@gmail.com wrote: > Hi Team, > > Can someone help me with below queries. > > 1) Do we have any official Golang/Google API to get latest available > Golang versions both major and m

[go-nuts] Concurrent solution: Which is the most efficient way to read STDIN lines 100s of MB long?

2022-06-13 Thread Const V
This is related of previous discussion but this time about finding concurrent solution. I'm posting my solution. Any feedback and suggestions for improvement are welcome! I need to write a program that reads STDIN and should output every line that contains a search word "test" to STDOUT. T

[go-nuts] Re: goroutine benchmark results interpretation for anonymous func?

2022-06-13 Thread Const V
"bytes.Contains" is not interruptible - yes. I can improve the performance of the concurrent implementation by stopping processing in other goroutines if the string is found in one of it, by using the original source code in my program to make it interruptible. I'm analyzing 100MB string.

[go-nuts] Re: goroutine benchmark results interpretation for anonymous func?

2022-06-13 Thread Brian Candler
On Monday, 13 June 2022 at 01:55:11 UTC+2 Const V wrote: > The way I'm using is "b" is a large buffer - hundreds of MB. > I want to stop processing after the string is found using "quit". > > for i := 0; i < cores; i++ { > go func(start, end, i int, quit chan string) { >ch

[go-nuts] Golang API to fetch available versions and release features

2022-06-13 Thread durgasomes...@gmail.com
Hi Team, Can someone help me with below queries. 1) Do we have any official Golang/Google API to get latest available Golang versions both major and minor. If yes, is it possible to fetch release data (both features & fixes information) for a specific version. 2) Can we get release/fix versio

[go-nuts] SFTPGo 2.3.1 released

2022-06-13 Thread Nicola Murino
Hi all, I'm pleased to announce SFTPGo 2.3.1! SFTPGo is a fully featured and highly configurable SFTP server with optional HTTP, FTP/S and WebDAV support, written in Go. It can serve local filesystem, S3 (compatible) Object Storage, Google Cloud Storage, Azure Blob Storage, other SFTP servers.