code: func (_m *API) Info(ctx context.Context) (*types.Info, error) {
  	ret := _m.Called(ctx)
  
  	var r0 *types.Info
  	if rf, ok := ret.Get(0).(func(context.Context) *types.Info); ok {
  		r0 = rf(ctx)
  	} else {
  		if ret.Get(0) != nil {
  			r0 = ret.Get(0).(*types.Info)
  		}
  	}
  
  	var r1 error
  	if rf, ok := ret.Get(1).(func(context.Context) error); ok {
  		r1 = rf(ctx)
  	} else {
  		r1 = ret.Error(1)
  	}
  
  	return r0, r1
  }
docs: // Info provides a mock function with given fields: ctx