M
M
ML2017-06-17 00:06:58
go
ML, 2017-06-17 00:06:58

How to compile go to binary?

There is an application in golang. With a bunch of files.
Of course, I can write go install in the working directory.
But then the console will fall, but how to compile it into one file and run it together with the server?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
index0h, 2017-06-17
@staffID

go build

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question