There is no performance problem, but it looks strange any way.
Are you using the Golang Build package?
Yes. this is the reason?