Releases: marz619/gbfs-go
Releases · marz619/gbfs-go
v0.0.2-rc WIP embedded client interface
see 2f17c66 for more details ...
WIP: creating a new private client
interface that satisifies:
get(string, interface{}) error // to get and unmarshal a response
set(client) // to embed the `client`
This interfaces satisifed by clientImpl
are both the public Client
and private client
interfaces
This allows us to embed the HTTPClient into the base Output
struct
which then means we can provide convenience methods to retrieve nested
feeds from the root GBFS type.
see the new Feeds
type for an example of this pattern; and take a look
at example/example.go
v0.0.1-rc Initial release candidate
Does not provide a full Client; however everything is discoverable, and the basic Structs conform to the current types specified by GBFS-v2.0 spec.