Get an observation.
This commit is contained in:
parent
01036de04d
commit
a018d2bd7a
11 changed files with 262 additions and 0 deletions
|
@ -21,6 +21,7 @@ type Client struct {
|
|||
Species SpeciesService
|
||||
Strains StrainsService
|
||||
ObservationTypes ObservationTypesService
|
||||
Observations ObservationsService
|
||||
|
||||
// BaseURL for HTTP requests to bactdb's API.
|
||||
BaseURL *url.URL
|
||||
|
@ -53,6 +54,7 @@ func NewClient(httpClient *http.Client) *Client {
|
|||
c.Species = &speciesService{c}
|
||||
c.Strains = &strainsService{c}
|
||||
c.ObservationTypes = &observationTypesService{c}
|
||||
c.Observations = &observationsService{c}
|
||||
return c
|
||||
}
|
||||
|
||||
|
|
Reference in a new issue