queue write by golang