Thanks this is what I was looking for

On Tuesday, July 18, 2017 at 1:14:54 PM UTC-7, Ian Lance Taylor wrote:
>
> On Tue, Jul 18, 2017 at 12:52 PM,  <jkl...@ucdavis.edu <javascript:>> 
> wrote: 
> > 
> > If I've already compiled my golang package, I'll have files in my /bin/ 
> and 
> > /pkg/linux_amd64 folders. Is there a way I can run the compiled binary 
> > without have to compile the code first (go run) ? 
>
> Sorry, I don't understand what you asking for. 
>
> You can do this: 
>
> go build -o x x.go 
>
> and then run `./x`. 
>
> Ian 
>

-- 
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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to