It would be great, if the same information from ./proxy --version would also be available in the web UI. Maybe in the footer, right below the GitHub link.
Use case
This would it make easy to see, if I'm running on an recent version.
Example
Implementation note
I'm a total go novice, so I couldn't get that over the finish line (yet).
A hardcoded string from dashboard.go over templates.go into footer.html works. But I am unsure how to nicely pass it from main.go.
Passing it as constructor of Server could work, but I don't know if this is go-like enough. Happy to get any pointers into the right direction here.
It would be great, if the same information from
./proxy --versionwould also be available in the web UI. Maybe in the footer, right below the GitHub link.Use case
This would it make easy to see, if I'm running on an recent version.
Example
Implementation note
I'm a total go novice, so I couldn't get that over the finish line (yet).
A hardcoded string from
dashboard.goovertemplates.gointofooter.htmlworks. But I am unsure how to nicely pass it frommain.go.Passing it as constructor of
Servercould work, but I don't know if this is go-like enough. Happy to get any pointers into the right direction here.