Build from source problem


#1

Hello, this morning I wiped an old grafana development directory tree and tried to create another following the instructions in http://docs.grafana.org/project/building_from_source/.

But now I get :

go run build.go setup
Version: 6.0.0-pre3, Linux Version: 6.0.0, Package Iteration: 1550054244pre3
go get -v github.com/golang/dep
go install -v ./pkg/cmd/grafana-server
github.com/grafana/grafana/pkg/setting
# github.com/grafana/grafana/pkg/setting
pkg/setting/setting.go:225:35: undefined: http.SameSite
exit status 2
exit status 1

Any hint?


#2

I found what was wrong: the go compiler was too old.


#3

That solved my problem too. Thanks