first cut to generate root.go with Go 1.4 `go generate`