The Push function of the syncWorkHeap type does not have input validation or type assertion checks. Therefore, calling that function with any type other than heapItem will lead to panic.
Note that Push is a public function; at the same time, it is not used currently.
The suggestion is to check that the input value holds the heapItem type and return otherwise.