- Oct 1, 2020
- 1,535
- 1,068
Purely by accident I stumbled on this tool
After creating an
Well, I know nothing about GO, but decided to take a look at the code.
looks like this line in
My initial thought was I just needed to replace that with
but the called function seems to do more than just strip underscores...
On top of that, when I tried to build the damn thing, the first time around I got
Revisiting that issue after
Ok, downloaded mingw64, added it to the path and got a whole slew of other errors... (see attachment)
At this point I throw the towell, I have even less knowledge about fixing errors spewed by gcc than I have about GO, which is zero.
So, if anyone here has used the tool, and maybe, (I fear I've got a snowball's hope in hell here) , maybe decided to build a personal copy that does NOT remove underscores from labelnames... I would very much appreciate to get a copy.
You must be registered to see the links
. Pretty quick it became clear this tool is deliberately mangled. It removes underscores from labelnames for 'aestathic' resons...After creating an
You must be registered to see the links
for it in the github repo I got told by the dev he won't do anything about it but I was free to submit a PR.Well, I know nothing about GO, but decided to take a look at the code.
looks like this line in
./parser/graph.go
is responsible for it.
Code:
labelName := beautifyLabel(label, tags)
Code:
labelName := label
On top of that, when I tried to build the damn thing, the first time around I got
You must be registered to see the links
Revisiting that issue after
You must be registered to see the links
, I tried the suggested workaround and suddenly GO began to complain it could not find gcc...Ok, downloaded mingw64, added it to the path and got a whole slew of other errors... (see attachment)
At this point I throw the towell, I have even less knowledge about fixing errors spewed by gcc than I have about GO, which is zero.
So, if anyone here has used the tool, and maybe, (I fear I've got a snowball's hope in hell here) , maybe decided to build a personal copy that does NOT remove underscores from labelnames... I would very much appreciate to get a copy.
Last edited: