A more recent version of this can be found in: ifwatch
Go decoder for SFP/QSFP Eeprom modules based on SFF-8079 and SFF-8636