Limiting number of system threads to run on the single core

Could you please indicate for me a way (I am a total newcomer in Go) to limit the threads that IPFS daemon enables? I am experimenting with a very special deployment case when the daemon is limited to the single-core physical CPU.

GOMAXPROCS? https://golang.org/pkg/runtime/

Go automatically sets to number of available cores. There should not be a need to set this.

Thanks, @hector! It worked for me!