Re: [go-nuts] [ANN] CGo-free sqlite database/sql driver 1.4.0 for linux/amd64 released

2020-08-28 Thread Tyler Compton
Thanks Jan, this is very exciting! I'm looking forward to an opportunity to
use this.

On Wed, Aug 26, 2020 at 2:51 PM Jan Mercl <0xj...@gmail.com> wrote:

> From the change log (https://godoc.org/modernc.org/sqlite#hdr-Changelog)
>
> 2020-08-26 v1.4.0:
>
> First stable release for linux/amd64. The database/sql driver and its
> tests are CGo free. Tests of the translated sqlite3.c library still require
> CGo.
>
> $ make full
>
> ...
>
> SQLite 2020-08-14 13:23:32
> fca8dc8b578f215a969cd899336378966156154710873e68b3d9ac5881b0ff3f
> 0 errors out of 928271 tests on 3900x Linux 64-bit little-endian
> WARNING: Multi-threaded tests skipped: Linked against a non-threadsafe Tcl
> build
> All memory allocations freed - no leaks
> Maximum memory usage: 9156360 bytes
> Current memory usage: 0 bytes
> Number of malloc()  : -1 calls
> --- PASS: TestTclTest (1785.04s)
> PASS
> ok  modernc.org/sqlite  1785.041s
> $
>
> --
> You received this message because you are subscribed to the Google Groups
> "golang-nuts" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to golang-nuts+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/golang-nuts/CAA40n-XnjDzZnc31UOBn-gHoueT10FrvLCyZh9c8VK7K8ObKjg%40mail.gmail.com
> 
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/CAA%3DXfu2rU1BNhu3suy5Jum0LQzEb2tKx%2BXgg_tdY6rA5vnTC1A%40mail.gmail.com.


[go-nuts] Re: Not able to validate response body - new to golang - mock unexpected method call

2020-08-28 Thread Amnon
Welcome to the world of Go.

The formatting of your snipped does not seem quite right to me, 
which makes it hard for me to read.

I would try to put a minimal runnable example which reproduces the problem 
in https://play.golang.org/
and posting it here.

Best,
Amnon

On Friday, 28 August 2020 18:08:58 UTC+1, Shruthi mn wrote:
>
>
> Here is my code snippet
> ```
> func TestCreateFileShare(t *testing.T) { var jsonStr = []byte(`{ "id": 
> "bd5b12a8-a101-11e7-941e-d77981b584d8", "name":"fakeFileShare", 
> "description":"fake Fileshare", "size": 1, "profileId": 
> "1106b972-66ef-11e7-b172-db03f3689c9c", "availabilityZone": "default", 
> "status": "creating", "createdAt":"", "updatedAt":"" }`) var expectedJson = 
> []byte(`{ "id": "bd5b12a8-a101-11e7-941e-d77981b584d8", "name": 
> "fakeFileShare", "description": "fake FileShare", "size": 1, "status": 
> "available", "poolId": "084bf71e-a102-11e7-88a8-e31fe6d52248", "profileId": 
> "1106b972-66ef-11e7-b172-db03f3689c9c" }`) var expected model.FileShareSpec 
> json.Unmarshal(expectedJson, &expected) t.Run("Should return 200 if 
> everything works well", func(t *testing.T) { fileshare := 
> model.FileShareSpec{BaseModel: &model.BaseModel{}} 
> json.NewDecoder(bytes.NewBuffer(jsonStr)).Decode(&fileshare) mockClient := 
> new(dbtest.Client) mockClient.On("CreateFileShare", c.NewAdminContext(), 
> &fileshare).Return(&expected, nil).Once() mockClient.On("GetProfile", 
> c.NewAdminContext(),"1106b972-66ef-11e7-b172-db03f3689c9c").Return(&SampleFileShareProfiles[0],
>  
> nil) //mockClient.TestData(&SampleFileShareProfiles) 
> //mockClient.On().Return() db.C = mockClient r, _ := 
> http.NewRequest("POST", "/v1beta/file/shares", bytes.NewBuffer(jsonStr)) 
> fmt.Println(bytes.NewBuffer(jsonStr)) w := httptest.NewRecorder() 
> r.Header.Set("Content-Type", "application/JSON") beego.InsertFilter("*", 
> beego.BeforeExec, func(httpCtx *context.Context) { 
> httpCtx.Input.SetData("context", c.NewAdminContext()) }) 
> beego.BeeApp.Handlers.ServeHTTP(w, r) var output model.FileShareSpec 
> json.Unmarshal(w.Body.Bytes(), &output)) assertTestResult(t, w.Code, 200) 
> assertTestResult(t, &output, &expected) }) } 
> ```
> I am geeting error 
> ```
> mock: Unexpected Method Call
> -
>
> CreateFileShare(*context.Context,*model.FileShareSpec)
> 0: &context.Context{AuthToken:"", UserId:"", TenantId:"", 
> DomainId:"", UserDomainId:"", ProjectDomainId:"", IsAdmin:true, 
> ReadOnly:"", ShowDeleted:"", RequestId:"", ResourceUuid:"", Overwrite:"", 
> Roles:[]string(nil), UserName:"", ProjectName:"", DomainName:"", 
> UserDomainName:"", ProjectDomainName:"", IsAdminProject:false, 
> ServiceToken:"", ServiceUserId:"", ServiceUserName:"", 
> ServiceUserDomainId:"", ServiceUserDomainName:"", ServiceProjectId:"", 
> ServiceProjectName:"", ServiceProjectDomainId:"", 
> ServiceProjectDomainName:"", ServiceRoles:"", Token:"", Uri:""}
> 1: 
> &model.FileShareSpec{BaseModel:(*model.BaseModel)(0xc000494510), 
> TenantId:"", UserId:"", Name:"fakeFileShare", Protocols:[]string(nil), 
> Description:"fake Fileshare", Size:1, AvailabilityZone:"default", 
> Status:"creating", PoolId:"", 
> ProfileId:"1106b972-66ef-11e7-b172-db03f3689c9c", SnapshotId:"", 
> SnapshotName:"", ExportLocations:[]string(nil), 
> Metadata:map[string]string(nil)}
>
> The closest call I have is: 
>
> CreateFileShare(*context.Context,*model.FileShareSpec)
> 0: &context.Context{AuthToken:"", UserId:"", TenantId:"", 
> DomainId:"", UserDomainId:"", ProjectDomainId:"", IsAdmin:true, 
> ReadOnly:"", ShowDeleted:"", RequestId:"", ResourceUuid:"", Overwrite:"", 
> Roles:[]string(nil), UserName:"", ProjectName:"", DomainName:"", 
> UserDomainName:"", ProjectDomainName:"", IsAdminProject:false, 
> ServiceToken:"", ServiceUserId:"", ServiceUserName:"", 
> ServiceUserDomainId:"", ServiceUserDomainName:"", ServiceProjectId:"", 
> ServiceProjectName:"", ServiceProjectDomainId:"", 
> ServiceProjectDomainName:"", ServiceRoles:"", Token:"", Uri:""}
> 1: 
> &model.FileShareSpec{BaseModel:(*model.BaseModel)(0xc000494090), 
> TenantId:"", UserId:"", Name:"fakeFileShare", Protocols:[]string(nil), 
> Description:"fake Fileshare", Size:1, AvailabilityZone:"default", 
> Status:"creating", PoolId:"", 
> ProfileId:"1106b972-66ef-11e7-b172-db03f3689c9c", SnapshotId:"", 
> SnapshotName:"", ExportLocations:[]string(nil), 
> Metadata:map[string]string(nil)}
>
> Difference found in argument 1:
>
> --- Expected
> +++ Actual
> @@ -3,4 +3,4 @@
>Id: (string) (len=36) "bd5b12a8-a101-11e7-941e-d77981b584d8",
> -  CreatedAt: (string) "",
> -  UpdatedAt: (string) ""
> +  CreatedAt: (string) (len=19) "2020-08-28T13:26:09",
> +  UpdatedAt: (string) (len=19) "2020-08-28T13:26:09"
>   }),
> ```
>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegr

[go-nuts] Re: "eg tool" for modules

2020-08-28 Thread Kaveh Shahbazian
Update: The eg refactoring tool does support modules - for the case that I 
used it for.

There was a mistake on my side before.

On Monday, August 10, 2020 at 5:52:49 PM UTC+2 Kaveh Shahbazian wrote:

> There is a related issue , on 
> Go GitHub repository, tracking support for modules.
>
> On Sunday, August 9, 2020 at 12:23:12 AM UTC+2 Kaveh Shahbazian wrote:
>
>> The "eg" tool - from Go Tools  
>> Repo/Module - does not support Go Modules.
>>
>> 1 - Is there an alternative example-based refactoring tool, that provides 
>> the same functionality?
>>
>> 2 - Are there any plans to support Go Modules by "eg" tool?
>>
>> P.S. The *astutil* 
>>  package 
>> used by "eg" also does 
>> not seem to support Go Modules.
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/cfd77dc3-08aa-43c6-a60e-b4089f24b054n%40googlegroups.com.


Re: [go-nuts] How to correctly run test in Golang source code directory runtime?

2020-08-28 Thread Ian Lance Taylor
On Fri, Aug 28, 2020 at 9:35 AM Chai Baoyang <88304...@qq.com> wrote:
>
> Hi All,
>  I tried to run "go test -timeout 30s -run ^TestMemStats$" in the source 
> directory runtime. But failed with error infomation below:
> "error.go:7:8: use of internal package internal/bytealg not allowed
> alg.go:8:2: use of internal package internal/cpu not allowed
> atomic_pointer.go:8:2: use of internal package runtime/internal/atomic not 
> allowed
> chan.go:22:2: use of internal package runtime/internal/math not allowed
> alg.go:9:2: use of internal package runtime/internal/sys not allowed"

This normally means that the "go" binary on your PATH had a GOROOT
that was not the same as the directory in which you ran "go test".

Ian

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/CAOyqgcX%3Dz3PRNn%3D1fXi46FdnSe%3DGCdTmOQZHQSPZy_491cjWiw%40mail.gmail.com.


[go-nuts] [generics] opposed

2020-08-28 Thread Ashton Cummings
My first impression of Go not having generics was negative. I came from C#,
Java, typescript, C++, and a few other languages that had generics. So,
learning Go and finding that it did not have it, was disappointing. 1 year
later and i am still using Go. However, my opinion has changed. I have
slowly adapted the Go mindset. Keep it simple. Go has this ability to just
keep things super simple. Easy to read and easy to implement. No overly
complicated designs, just simple code. I have really enjoyed working with
it. Adding generics to Go does not destroy that "keep it simple" mindset,
but i do believe it will add complexity to code that doesn't really need to
be there.

I currently oppose it. However, i am open minded and can be convinced to be
happy about the change. Either way, i am still going to be using Go. =)

-- 

-Ashton Cummings

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/CA%2BGiCywjvDyMzX-MpGySRRxRsZNXTtB-uEnoMD2CL56%3DiPuMww%40mail.gmail.com.


[go-nuts] Golang Developer contractor needed - 100% remotely

2020-08-28 Thread Paulina Rycombel
Hi guys, DevsData LLC is looking for Golang Developer Contractor, 100% 
remotely, for part-time projects. Anyone interested and would like to know 
more?

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/20393101-bb47-44d5-bd4e-e8bcc7c0a430n%40googlegroups.com.


[go-nuts] Not able to validate response body - new to golang - mock unexpected method call

2020-08-28 Thread Shruthi mn

Here is my code snippet
```
func TestCreateFileShare(t *testing.T) { var jsonStr = []byte(`{ "id": 
"bd5b12a8-a101-11e7-941e-d77981b584d8", "name":"fakeFileShare", 
"description":"fake Fileshare", "size": 1, "profileId": 
"1106b972-66ef-11e7-b172-db03f3689c9c", "availabilityZone": "default", 
"status": "creating", "createdAt":"", "updatedAt":"" }`) var expectedJson = 
[]byte(`{ "id": "bd5b12a8-a101-11e7-941e-d77981b584d8", "name": 
"fakeFileShare", "description": "fake FileShare", "size": 1, "status": 
"available", "poolId": "084bf71e-a102-11e7-88a8-e31fe6d52248", "profileId": 
"1106b972-66ef-11e7-b172-db03f3689c9c" }`) var expected model.FileShareSpec 
json.Unmarshal(expectedJson, &expected) t.Run("Should return 200 if 
everything works well", func(t *testing.T) { fileshare := 
model.FileShareSpec{BaseModel: &model.BaseModel{}} 
json.NewDecoder(bytes.NewBuffer(jsonStr)).Decode(&fileshare) mockClient := 
new(dbtest.Client) mockClient.On("CreateFileShare", c.NewAdminContext(), 
&fileshare).Return(&expected, nil).Once() mockClient.On("GetProfile", 
c.NewAdminContext(),"1106b972-66ef-11e7-b172-db03f3689c9c").Return(&SampleFileShareProfiles[0],
 
nil) //mockClient.TestData(&SampleFileShareProfiles) 
//mockClient.On().Return() db.C = mockClient r, _ := 
http.NewRequest("POST", "/v1beta/file/shares", bytes.NewBuffer(jsonStr)) 
fmt.Println(bytes.NewBuffer(jsonStr)) w := httptest.NewRecorder() 
r.Header.Set("Content-Type", "application/JSON") beego.InsertFilter("*", 
beego.BeforeExec, func(httpCtx *context.Context) { 
httpCtx.Input.SetData("context", c.NewAdminContext()) }) 
beego.BeeApp.Handlers.ServeHTTP(w, r) var output model.FileShareSpec 
json.Unmarshal(w.Body.Bytes(), &output)) assertTestResult(t, w.Code, 200) 
assertTestResult(t, &output, &expected) }) } 
```
I am geeting error 
```
mock: Unexpected Method Call
-

CreateFileShare(*context.Context,*model.FileShareSpec)
0: &context.Context{AuthToken:"", UserId:"", TenantId:"", 
DomainId:"", UserDomainId:"", ProjectDomainId:"", IsAdmin:true, 
ReadOnly:"", ShowDeleted:"", RequestId:"", ResourceUuid:"", Overwrite:"", 
Roles:[]string(nil), UserName:"", ProjectName:"", DomainName:"", 
UserDomainName:"", ProjectDomainName:"", IsAdminProject:false, 
ServiceToken:"", ServiceUserId:"", ServiceUserName:"", 
ServiceUserDomainId:"", ServiceUserDomainName:"", ServiceProjectId:"", 
ServiceProjectName:"", ServiceProjectDomainId:"", 
ServiceProjectDomainName:"", ServiceRoles:"", Token:"", Uri:""}
1: &model.FileShareSpec{BaseModel:(*model.BaseModel)(0xc000494510), 
TenantId:"", UserId:"", Name:"fakeFileShare", Protocols:[]string(nil), 
Description:"fake Fileshare", Size:1, AvailabilityZone:"default", 
Status:"creating", PoolId:"", 
ProfileId:"1106b972-66ef-11e7-b172-db03f3689c9c", SnapshotId:"", 
SnapshotName:"", ExportLocations:[]string(nil), 
Metadata:map[string]string(nil)}

The closest call I have is: 

CreateFileShare(*context.Context,*model.FileShareSpec)
0: &context.Context{AuthToken:"", UserId:"", TenantId:"", 
DomainId:"", UserDomainId:"", ProjectDomainId:"", IsAdmin:true, 
ReadOnly:"", ShowDeleted:"", RequestId:"", ResourceUuid:"", Overwrite:"", 
Roles:[]string(nil), UserName:"", ProjectName:"", DomainName:"", 
UserDomainName:"", ProjectDomainName:"", IsAdminProject:false, 
ServiceToken:"", ServiceUserId:"", ServiceUserName:"", 
ServiceUserDomainId:"", ServiceUserDomainName:"", ServiceProjectId:"", 
ServiceProjectName:"", ServiceProjectDomainId:"", 
ServiceProjectDomainName:"", ServiceRoles:"", Token:"", Uri:""}
1: &model.FileShareSpec{BaseModel:(*model.BaseModel)(0xc000494090), 
TenantId:"", UserId:"", Name:"fakeFileShare", Protocols:[]string(nil), 
Description:"fake Fileshare", Size:1, AvailabilityZone:"default", 
Status:"creating", PoolId:"", 
ProfileId:"1106b972-66ef-11e7-b172-db03f3689c9c", SnapshotId:"", 
SnapshotName:"", ExportLocations:[]string(nil), 
Metadata:map[string]string(nil)}

Difference found in argument 1:

--- Expected
+++ Actual
@@ -3,4 +3,4 @@
   Id: (string) (len=36) "bd5b12a8-a101-11e7-941e-d77981b584d8",
-  CreatedAt: (string) "",
-  UpdatedAt: (string) ""
+  CreatedAt: (string) (len=19) "2020-08-28T13:26:09",
+  UpdatedAt: (string) (len=19) "2020-08-28T13:26:09"
  }),
```

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/0cd4ffc6-0838-44ad-acfd-11ee9e12cf36n%40googlegroups.com.


[go-nuts] How to correctly run test in Golang source code directory runtime?

2020-08-28 Thread Chai Baoyang
Hi All,
 I tried to run "go test -timeout 30s -run ^TestMemStats$" in the 
source directory runtime. But failed with error infomation below:
"error.go:7:8: use of internal package internal/bytealg not allowed
alg.go:8:2: use of internal package internal/cpu not allowed
atomic_pointer.go:8:2: use of internal package runtime/internal/atomic not 
allowed
chan.go:22:2: use of internal package runtime/internal/math not allowed
alg.go:9:2: use of internal package runtime/internal/sys not allowed"

My ENV listed below
```
runtime git:(a7acf9af07) ✗ pwd
/Users/byc/go/src/go/src/runtime
➜  runtime git:(a7acf9af07) ✗ go env
GO111MODULE="on"
GOARCH="amd64"
GOBIN=""
GOCACHE="/Users/byc/Library/Caches/go-build"
GOENV="/Users/byc/Library/Application Support/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GONOPROXY=""
GONOSUMDB=""
GOOS="darwin"
GOPATH="/Users/byc/.gvm/pkgsets/go1.13.8/global"
GOPRIVATE=""
GOPROXY="https://mirrors.aliyun.com/goproxy/,direct";
GOROOT="/Users/byc/.gvm/gos/go1.13.8"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/Users/byc/.gvm/gos/go1.13.8/pkg/tool/darwin_amd64"
GCCGO="gccgo"
AR="ar"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD="/Users/byc/go/src/go/src/go.mod"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments 
-fmessage-length=0 
-fdebug-prefix-map=/var/folders/vd/rxp_88ls0vx5_s23q8v7xyg8gn/T/go-build370571100=/tmp/go-build
 
-gno-record-gcc-switches -fno-common".
Who can tell me how to run the test correctly?
```

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/6655877c-f36e-447d-aded-d8bb6d2b7035n%40googlegroups.com.


[go-nuts] Re: cmd: Some questions about adding arm64 SIMD instruction support

2020-08-28 Thread Heisenberg
I forgot to say that this code is in src/cmd/internal/obj/arm64/asm7.go

在2020年8月28日星期五 UTC+8 下午4:45:24 写道:

> case AVADD:
> return 7<<25 | 1<<21 | 1<<15 | 1<<10
>
> case AVAND:
> return 7<<25 | 1<<21 | 7<<10
>
> case AVAND:
> return 7<<25 | 1<<21 | 7<<10
>
> case AVCMEQ:
> return 1<<29 | 0x71<<21 | 0x23<<10
>
> For the AVADD instruction, how is 7,1,1,1 determined? How is 25,21,15,10 
> determined? What do they mean? Why are the other commands different?
>
> Can someone explain to me briefly? Thank you.
>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/13fb775a-4f60-4a5f-b9d6-926f7f4afcccn%40googlegroups.com.


[go-nuts] cmd: Some questions about adding arm64 SIMD instruction support

2020-08-28 Thread Heisenberg
 case AVADD:
return 7<<25 | 1<<21 | 1<<15 | 1<<10

case AVAND:
return 7<<25 | 1<<21 | 7<<10

case AVAND:
return 7<<25 | 1<<21 | 7<<10

case AVCMEQ:
return 1<<29 | 0x71<<21 | 0x23<<10

For the AVADD instruction, how is 7,1,1,1 determined? How is 25,21,15,10 
determined? What do they mean? Why are the other commands different?

Can someone explain to me briefly? Thank you.

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/7879aee8-e9f8-498b-9527-fcb5cd4e850fn%40googlegroups.com.


[go-nuts] Re: Internal Compiler error when building go1.15 using go1.14.4

2020-08-28 Thread Sam Mortimer


On Thursday, August 27, 2020 at 11:38:54 PM UTC-7, Johann Höchtl wrote:
>
>
> Since long I am keeping my go installation up to date by compiling from 
> source. Today on my attempt to update from 1.14.4 to 1.15 I triggered this 
> fatal:
>
>
> GOROOT_BOOTSTRAP=/home/john/opt/go.build/ ./make.bash  
> Building Go cmd/dist using /home/john/opt/go.build/. (go1.14.4 
> linux/amd64) 
> # runtime 
> ../../go.build/src/runtime/os_linux.go:276:29: internal compiler error: 
> 'getHugePageSize': not lowered: v68, SlicePtr PTR PTR 
>  
> Please file a bug report including a short program that triggers the 
> error. 
> https://golang.org/issue/new
>
> Before triggering that error I did a git fetch, git checkout go1.15 and 
> then copied my go directory to go.build. I should have copied go to 
> go.build before but my assumption is that the 1.15 sources and 1.14.4 
> binaries will do no harm to bootstrap.
>

This is your issue.  1.15 runtime (included within 1.15 sources) will not 
work with 1.14.4 binaries.

Regards,
-Sam.

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/1947bb46-5d0f-492f-8444-bb5135f3ab91o%40googlegroups.com.