Get a strain.

This commit is contained in:
Matthew Dillon 2014-10-28 16:14:14 -08:00
parent 20d65bd561
commit 6c118f47f7
11 changed files with 267 additions and 0 deletions

View file

@ -19,6 +19,7 @@ type Client struct {
Users UsersService
Genera GeneraService
Species SpeciesService
Strains StrainsService
// BaseURL for HTTP requests to bactdb's API.
BaseURL *url.URL
@ -49,6 +50,7 @@ func NewClient(httpClient *http.Client) *Client {
c.Users = &usersService{c}
c.Genera = &generaService{c}
c.Species = &speciesService{c}
c.Strains = &strainsService{c}
return c
}