stmcginnis / gofish

Gofish is a Golang client library for DMTF Redfish and SNIA Swordfish interaction.
BSD 3-Clause "New" or "Revised" License
204 stars 109 forks source link

Add generic object retrieval #353

Closed stmcginnis closed 3 weeks ago

stmcginnis commented 3 weeks ago

Now that we've moved to Go 1.18 as a minimum we can use generics. This consolidates a lot of the GetXXX calls to use common code to retrieve API objects.

Also cleans up some other code and fixes a couple small bugs.