go version -m <executable>

On Thursday, August 13, 2020 at 10:30:56 AM UTC+2 santhoshth...@gmail.com 
wrote:

> Hi All,
>
> What is best way to know a executable version without executing it through 
> golang?
>
> I tried with reading the executable file through a scanner and matching 
> every line with regex (like ngnix regx) but this is not working for all 
> executables.
>
> Do you have any idea?
>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/a0d50b2d-beb7-42b0-9506-acc7f4b22a42n%40googlegroups.com.

Reply via email to