govitia / navitia

A client library in Go for the Navitia API (navitia.io) (v2 WIP)
The Unlicense
6 stars 2 forks source link

types: Rename all reference to API types to something clearer. #12

Open aabizri opened 7 years ago

aabizri commented 7 years ago

 The problem

Currently, the term type is used everywhere, which doesn't help clarify that we're talking about resources returned by the remote API.

A solution

(Warning extreme API-Break).

Rename every mention of types in the context of a resource returned by the remote API to resource, including the subpackage's name itself.