I have heard about those holes also as " badger holes ". People in Utah use them in this term. From what I know, every time a gold story mentioned a coyote/badger hole, there was always a storage room. A cache of gold bars, already dug out gold ore or sacks of gold nuggets.
Usually, Mexicans miners were following the course of the gold ore in the ground, which means how that would been vertical pits, diagonal shafts or horizontal tunnels. There would not been a canon for this. They could start verticaly and after few feets to go horizontaly, or vice versa.
The coyote/badger holes were made usually on slopes because their structure avoid the rain water to go inside. On flat locations, they would make a small wall, about a feet high in a crescent moon shape, on the side from where the water would come, and sometimes all around.