V
V
v- death2015-08-15 22:49:09
go
v- death, 2015-08-15 22:49:09

Will static be included in the binary?

I can't understand such a thing. For example, I load themes, etc. from folders that are in the same directory as main.go, when compiling, does all this stuff also go to the binary?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
index0h, 2015-08-16
@vGrabko99

Only *.go files get into the binary, except for:

  • *_test.go
  • *_{OS_TYPE}.go, where {OS_TYPE} is an OC type other than the one under which compilation is being performed. For example *_windows.go is not used when compiling under linux.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question