ocket8888 commented on a change in pull request #3023: WIP Supported routes 
fetch
URL: https://github.com/apache/trafficcontrol/pull/3023#discussion_r233235836
 
 

 ##########
 File path: traffic_ops/traffic_ops_golang/traffic_ops_golang.go
 ##########
 @@ -46,6 +46,9 @@ import (
 // set the version at build time: `go build -X "main.version=..."`
 var version = "development"
 
+// Traffic Ops version, set before building
+const Version = "3.0.0"
 
 Review comment:
   hm, I suppose that was what I was looking for, then. Is there really no way 
to get the `go` toolchain to set that without explicitly passing it on the 
command line? e.g. in a Makefile you could just build that into the recipe, but 
a Makefile for a Go project doesn't make sense because `go` does everything 
`make` would do.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to