golang write worker