code: func (s *Service) FindMacros(ctx context.Context) ([]*platform.Macro, error) {
  	op := OpPrefix + platform.OpFindMacros
  	var err error
  	var macros []*platform.Macro
  	s.macroKV.Range(func(k, v interface{}) bool {
  		macro, ok := v.(*platform.Macro)
  		if !ok {
  			err = &platform.Error{
  				Op:  op,
  				Msg: fmt.Sprintf("type %T is not a macro", v),
  			}
  			return false
  		}
  
  		macros = append(macros, macro)
  		return true
  	})
  
  	if err != nil {
  		return nil, err
  	}
  
  	return macros, nil
  }
docs: // FindMacros implements the platform.MacroService interface