Get a unit type
This commit is contained in:
parent
431ba7ed91
commit
c2bfc8b93b
11 changed files with 260 additions and 0 deletions
|
@ -23,6 +23,7 @@ type Client struct {
|
|||
ObservationTypes ObservationTypesService
|
||||
Observations ObservationsService
|
||||
TextMeasurementTypes TextMeasurementTypesService
|
||||
UnitTypes UnitTypesService
|
||||
|
||||
// BaseURL for HTTP requests to bactdb's API.
|
||||
BaseURL *url.URL
|
||||
|
@ -57,6 +58,7 @@ func NewClient(httpClient *http.Client) *Client {
|
|||
c.ObservationTypes = &observationTypesService{c}
|
||||
c.Observations = &observationsService{c}
|
||||
c.TextMeasurementTypes = &textMeasurementTypesService{c}
|
||||
c.UnitTypes = &unitTypesService{c}
|
||||
return c
|
||||
}
|
||||
|
||||
|
|
Reference in a new issue