code: func (vm VirtualMachine) NicByID(nicID UUID) *Nic {
  	for _, nic := range vm.Nic {
  		if nic.ID.Equal(nicID) {
  			n := nic
  			n.VirtualMachineID = vm.ID
  			return &n
  		}
  	}
  
  	return nil
  }
docs: // NicByID returns the corresponding interface base on its ID