Re: [go-nuts] Failure in file seek

2024-04-08 Thread 'Bakul Shah' via golang-nuts
> offset, err := f.Seek(0, 10) The second argument needs to be one of io.{SeekStart,SeekCurrent,SeekEnd} (0, 1 or 2). go doc os.File.Seek > On Apr 8, 2024, at 2:24 PM, Nikhilesh Susarla wrote: > > github/file-seek/main.go >

[go-nuts] Re: Go 1.10: how should I pass linker flags scoped to a single vendored package?

2018-03-23 Thread shah via golang-nuts
Luke got it right; as it turns out, this is the same bug as https://github.com/golang/go/issues/24456 . On Wednesday, March 21, 2018 at 12:58:37 PM UTC-7, lre