Versions in this module Expand all Collapse all v0 v0.0.1 Jul 14, 2020 Changes in this version + type Beer struct + Brewer string + Country string + ID string + Name string + Type BeerType + func (b *Beer) Validate() error + type BeerType int + const Ale + const Bitter + const IndiaPaleAle + const Lager + const PaleAle + const Pilsner + const Porter + const Stout + const Unspecified + func (t BeerType) String() string + type CreateBeerParams struct + Brewer string + Country string + Name string + Type BeerType + func (b *CreateBeerParams) Validate() error + type DeleteBeerParams struct + ID string + func (b *DeleteBeerParams) Validate() error + type GetBeerParams struct + ID string + func (b *GetBeerParams) Validate() error + type ListBeersParams struct + Page int + func (b *ListBeersParams) Validate() error + type UpdateBeerParams struct + Brewer *string + Country *string + ID string + Name *string + Type *BeerType + func (b *UpdateBeerParams) Validate() error + type ValidationError struct + func NewValidationError(msg string) ValidationError + func (e ValidationError) Error() string