Hi, trying to compile on rhel6 yields me:
carbon-relay-ng]$ make
go-bindata admin_http_assets
[w] No function name specified. Using admin_http_assets.
go build
github.com/graphite-ng/carbon-relay-ng
./admin_http_assets.1.go:10: admin_http_assets redeclared in this block
previous declaration at ./admin_http_assets.0.go:10
./admin_http_assets.2.go:10: admin_http_assets redeclared in this block
previous declaration at ./admin_http_assets.1.go:10
./admin_http_assets.3.go:10: admin_http_assets redeclared in this block
previous declaration at ./admin_http_assets.2.go:10
./admin_http_assets.4.go:10: admin_http_assets redeclared in this block
previous declaration at ./admin_http_assets.3.go:10
./admin_http_assets.5.go:10: admin_http_assets redeclared in this block
previous declaration at ./admin_http_assets.4.go:10
./admin_http_assets.go:10: admin_http_assets redeclared in this block
previous declaration at ./admin_http_assets.5.go:10
make: *** [build] Error 2
golang is v1.7.3 - go version go1.7.3 linux/amd64
On centos 7 - it's v1.6.3 - but it compiles fine.
Hi, trying to compile on rhel6 yields me: carbon-relay-ng]$ make go-bindata admin_http_assets [w] No function name specified. Using admin_http_assets. go build
github.com/graphite-ng/carbon-relay-ng
./admin_http_assets.1.go:10: admin_http_assets redeclared in this block previous declaration at ./admin_http_assets.0.go:10 ./admin_http_assets.2.go:10: admin_http_assets redeclared in this block previous declaration at ./admin_http_assets.1.go:10 ./admin_http_assets.3.go:10: admin_http_assets redeclared in this block previous declaration at ./admin_http_assets.2.go:10 ./admin_http_assets.4.go:10: admin_http_assets redeclared in this block previous declaration at ./admin_http_assets.3.go:10 ./admin_http_assets.5.go:10: admin_http_assets redeclared in this block previous declaration at ./admin_http_assets.4.go:10 ./admin_http_assets.go:10: admin_http_assets redeclared in this block previous declaration at ./admin_http_assets.5.go:10 make: *** [build] Error 2
golang is v1.7.3 - go version go1.7.3 linux/amd64 On centos 7 - it's v1.6.3 - but it compiles fine.