Documentation ¶
Index ¶
- func AsString(i interface{}) string
- type StringResponse
- type Stub
- func (s *Stub) DeletePlanets(planets []model.Planet) (*mongo.DeleteResult, error)
- func (s *Stub) GetAllPlanets() ([]*model.Planet, error)
- func (s *Stub) GetPlanet(filter interface{}, m *model.Planet) error
- func (s *Stub) InsertPlanets(planets []model.Planet) (*mongo.InsertManyResult, error)
- func (s *Stub) UpdateMovieRefs(planets []swapi.Planet) (*mongo.BulkWriteResult, error)
- func (s *Stub) UpdatePlanetRefs() error
- func (s *Stub) UpdatePlanets(planet []model.Planet) (*mongo.BulkWriteResult, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type StringResponse ¶
type StringResponse string
type Stub ¶
type Stub struct { Planet *model.Planet Planets []*model.Planet SwapiPlanets []swapi.Planet SwapiUpdates int Channel chan bool InsertResult mongo.InsertManyResult UpdateResult mongo.BulkWriteResult DeleteResult mongo.DeleteResult CalledWith map[string]interface{} RespBody interface{} Error error }
func (*Stub) DeletePlanets ¶
func (*Stub) InsertPlanets ¶
func (*Stub) UpdateMovieRefs ¶
func (*Stub) UpdatePlanetRefs ¶
func (*Stub) UpdatePlanets ¶
Click to show internal directories.
Click to hide internal directories.