From 39f90f281c61fe40cd9e7a511166b66dd23d65f0 Mon Sep 17 00:00:00 2001 From: Stainless Bot Date: Thu, 12 Sep 2024 21:20:32 +0000 Subject: [PATCH 1/2] feat: feat: Go sdk examples --- examples/agencies-with-coverage/main.go | 4 ++-- examples/agency/main.go | 4 ++-- examples/arrival-and-departure-for-stop/main.go | 4 ++-- examples/arrivals-and-departures-for-stop/main.go | 4 ++-- examples/block/main.go | 4 ++-- examples/config/main.go | 6 +++--- examples/current-time/main.go | 4 ++-- examples/report-problem-with-stop/main.go | 4 ++-- examples/report-problem-with-trip/main.go | 4 ++-- examples/route/main.go | 4 ++-- examples/routes-for-agency/main.go | 4 ++-- examples/routes-for-location/main.go | 4 ++-- examples/schedule-for-route/main.go | 4 ++-- examples/schedule-for-stop/main.go | 4 ++-- examples/search-for-route/main.go | 4 ++-- examples/search-for-stop/main.go | 4 ++-- examples/shape/main.go | 4 ++-- examples/stop/main.go | 4 ++-- examples/stops-for-location/main.go | 4 ++-- examples/stops-for-route/main.go | 4 ++-- examples/stops-ids-for-agency/main.go | 4 ++-- examples/trip-details/main.go | 4 ++-- examples/trip-for-vehicle/main.go | 4 ++-- examples/trip/main.go | 4 ++-- examples/trips-for-route/main.go | 4 ++-- examples/vehicles-for-agency/main.go | 4 ++-- 26 files changed, 53 insertions(+), 53 deletions(-) diff --git a/examples/agencies-with-coverage/main.go b/examples/agencies-with-coverage/main.go index 53f5799..c493dd2 100644 --- a/examples/agencies-with-coverage/main.go +++ b/examples/agencies-with-coverage/main.go @@ -5,8 +5,8 @@ import ( "fmt" "log" - onebusaway "github.com/stainless-sdks/open-transit-go" - "github.com/stainless-sdks/open-transit-go/option" + onebusaway "github.com/OneBusAway/go-sdk" + "github.com/OneBusAway/go-sdk/option" ) func main() { diff --git a/examples/agency/main.go b/examples/agency/main.go index 22f183b..ef2284b 100644 --- a/examples/agency/main.go +++ b/examples/agency/main.go @@ -5,8 +5,8 @@ import ( "fmt" "log" - onebusaway "github.com/stainless-sdks/open-transit-go" - "github.com/stainless-sdks/open-transit-go/option" + onebusaway "github.com/OneBusAway/go-sdk" + "github.com/OneBusAway/go-sdk/option" ) func main() { diff --git a/examples/arrival-and-departure-for-stop/main.go b/examples/arrival-and-departure-for-stop/main.go index de0e6e3..0e2a9a8 100644 --- a/examples/arrival-and-departure-for-stop/main.go +++ b/examples/arrival-and-departure-for-stop/main.go @@ -6,8 +6,8 @@ import ( "log" "time" - onebusaway "github.com/stainless-sdks/open-transit-go" - "github.com/stainless-sdks/open-transit-go/option" + onebusaway "github.com/OneBusAway/go-sdk" + "github.com/OneBusAway/go-sdk/option" ) func main() { diff --git a/examples/arrivals-and-departures-for-stop/main.go b/examples/arrivals-and-departures-for-stop/main.go index cc4d610..c540211 100644 --- a/examples/arrivals-and-departures-for-stop/main.go +++ b/examples/arrivals-and-departures-for-stop/main.go @@ -6,8 +6,8 @@ import ( "log" "time" - onebusaway "github.com/stainless-sdks/open-transit-go" - "github.com/stainless-sdks/open-transit-go/option" + onebusaway "github.com/OneBusAway/go-sdk" + "github.com/OneBusAway/go-sdk/option" ) func main() { diff --git a/examples/block/main.go b/examples/block/main.go index 942f48a..a3e74a1 100644 --- a/examples/block/main.go +++ b/examples/block/main.go @@ -5,8 +5,8 @@ import ( "fmt" "log" - onebusaway "github.com/stainless-sdks/open-transit-go" - "github.com/stainless-sdks/open-transit-go/option" + onebusaway "github.com/OneBusAway/go-sdk" + "github.com/OneBusAway/go-sdk/option" ) func main() { diff --git a/examples/config/main.go b/examples/config/main.go index 5623d2a..941df57 100644 --- a/examples/config/main.go +++ b/examples/config/main.go @@ -4,9 +4,9 @@ import ( "context" "fmt" "log" - - onebusaway "github.com/stainless-sdks/open-transit-go" - "github.com/stainless-sdks/open-transit-go/option" + + onebusaway "github.com/OneBusAway/go-sdk" + "github.com/OneBusAway/go-sdk/option" ) func main() { diff --git a/examples/current-time/main.go b/examples/current-time/main.go index 3887fb8..07a4251 100644 --- a/examples/current-time/main.go +++ b/examples/current-time/main.go @@ -5,8 +5,8 @@ import ( "fmt" "log" - onebusaway "github.com/stainless-sdks/open-transit-go" - "github.com/stainless-sdks/open-transit-go/option" + onebusaway "github.com/OneBusAway/go-sdk" + "github.com/OneBusAway/go-sdk/option" ) func main() { diff --git a/examples/report-problem-with-stop/main.go b/examples/report-problem-with-stop/main.go index 6993515..5218195 100644 --- a/examples/report-problem-with-stop/main.go +++ b/examples/report-problem-with-stop/main.go @@ -5,8 +5,8 @@ import ( "fmt" "log" - onebusaway "github.com/stainless-sdks/open-transit-go" - "github.com/stainless-sdks/open-transit-go/option" + onebusaway "github.com/OneBusAway/go-sdk" + "github.com/OneBusAway/go-sdk/option" ) func main() { diff --git a/examples/report-problem-with-trip/main.go b/examples/report-problem-with-trip/main.go index e04ae62..44c068e 100644 --- a/examples/report-problem-with-trip/main.go +++ b/examples/report-problem-with-trip/main.go @@ -6,8 +6,8 @@ import ( "log" "time" - onebusaway "github.com/stainless-sdks/open-transit-go" - "github.com/stainless-sdks/open-transit-go/option" + onebusaway "github.com/OneBusAway/go-sdk" + "github.com/OneBusAway/go-sdk/option" ) func main() { diff --git a/examples/route/main.go b/examples/route/main.go index 88e8af5..e8536dc 100644 --- a/examples/route/main.go +++ b/examples/route/main.go @@ -5,8 +5,8 @@ import ( "fmt" "log" - onebusaway "github.com/stainless-sdks/open-transit-go" - "github.com/stainless-sdks/open-transit-go/option" + onebusaway "github.com/OneBusAway/go-sdk" + "github.com/OneBusAway/go-sdk/option" ) func main() { diff --git a/examples/routes-for-agency/main.go b/examples/routes-for-agency/main.go index 5fc0657..668377e 100644 --- a/examples/routes-for-agency/main.go +++ b/examples/routes-for-agency/main.go @@ -5,8 +5,8 @@ import ( "fmt" "log" - onebusaway "github.com/stainless-sdks/open-transit-go" - "github.com/stainless-sdks/open-transit-go/option" + onebusaway "github.com/OneBusAway/go-sdk" + "github.com/OneBusAway/go-sdk/option" ) func main() { diff --git a/examples/routes-for-location/main.go b/examples/routes-for-location/main.go index e225dd4..db3bfb1 100644 --- a/examples/routes-for-location/main.go +++ b/examples/routes-for-location/main.go @@ -5,8 +5,8 @@ import ( "fmt" "log" - onebusaway "github.com/stainless-sdks/open-transit-go" - "github.com/stainless-sdks/open-transit-go/option" + onebusaway "github.com/OneBusAway/go-sdk" + "github.com/OneBusAway/go-sdk/option" ) func main() { diff --git a/examples/schedule-for-route/main.go b/examples/schedule-for-route/main.go index 13c1ce7..f4b267d 100644 --- a/examples/schedule-for-route/main.go +++ b/examples/schedule-for-route/main.go @@ -6,8 +6,8 @@ import ( "log" "time" - onebusaway "github.com/stainless-sdks/open-transit-go" - "github.com/stainless-sdks/open-transit-go/option" + onebusaway "github.com/OneBusAway/go-sdk" + "github.com/OneBusAway/go-sdk/option" ) func main() { diff --git a/examples/schedule-for-stop/main.go b/examples/schedule-for-stop/main.go index a81b66f..d386bf6 100644 --- a/examples/schedule-for-stop/main.go +++ b/examples/schedule-for-stop/main.go @@ -6,8 +6,8 @@ import ( "log" "time" - onebusaway "github.com/stainless-sdks/open-transit-go" - "github.com/stainless-sdks/open-transit-go/option" + onebusaway "github.com/OneBusAway/go-sdk" + "github.com/OneBusAway/go-sdk/option" ) func main() { diff --git a/examples/search-for-route/main.go b/examples/search-for-route/main.go index 126a59c..78c7942 100644 --- a/examples/search-for-route/main.go +++ b/examples/search-for-route/main.go @@ -5,8 +5,8 @@ import ( "fmt" "log" - onebusaway "github.com/stainless-sdks/open-transit-go" - "github.com/stainless-sdks/open-transit-go/option" + onebusaway "github.com/OneBusAway/go-sdk" + "github.com/OneBusAway/go-sdk/option" ) func main() { diff --git a/examples/search-for-stop/main.go b/examples/search-for-stop/main.go index b026a09..9fdd563 100644 --- a/examples/search-for-stop/main.go +++ b/examples/search-for-stop/main.go @@ -5,8 +5,8 @@ import ( "fmt" "log" - onebusaway "github.com/stainless-sdks/open-transit-go" - "github.com/stainless-sdks/open-transit-go/option" + onebusaway "github.com/OneBusAway/go-sdk" + "github.com/OneBusAway/go-sdk/option" ) func main() { diff --git a/examples/shape/main.go b/examples/shape/main.go index 0224132..6b22555 100644 --- a/examples/shape/main.go +++ b/examples/shape/main.go @@ -5,8 +5,8 @@ import ( "fmt" "log" - onebusaway "github.com/stainless-sdks/open-transit-go" - "github.com/stainless-sdks/open-transit-go/option" + onebusaway "github.com/OneBusAway/go-sdk" + "github.com/OneBusAway/go-sdk/option" ) func main() { diff --git a/examples/stop/main.go b/examples/stop/main.go index 77b6153..9335066 100644 --- a/examples/stop/main.go +++ b/examples/stop/main.go @@ -5,8 +5,8 @@ import ( "fmt" "log" - onebusaway "github.com/stainless-sdks/open-transit-go" - "github.com/stainless-sdks/open-transit-go/option" + onebusaway "github.com/OneBusAway/go-sdk" + "github.com/OneBusAway/go-sdk/option" ) func main() { diff --git a/examples/stops-for-location/main.go b/examples/stops-for-location/main.go index d34c2ea..2ccf5ad 100644 --- a/examples/stops-for-location/main.go +++ b/examples/stops-for-location/main.go @@ -6,8 +6,8 @@ import ( "log" "strings" - onebusaway "github.com/stainless-sdks/open-transit-go" - "github.com/stainless-sdks/open-transit-go/option" + onebusaway "github.com/OneBusAway/go-sdk" + "github.com/OneBusAway/go-sdk/option" ) func main() { diff --git a/examples/stops-for-route/main.go b/examples/stops-for-route/main.go index 53d0c75..0649ca9 100644 --- a/examples/stops-for-route/main.go +++ b/examples/stops-for-route/main.go @@ -5,8 +5,8 @@ import ( "fmt" "log" - onebusaway "github.com/stainless-sdks/open-transit-go" - "github.com/stainless-sdks/open-transit-go/option" + onebusaway "github.com/OneBusAway/go-sdk" + "github.com/OneBusAway/go-sdk/option" ) func main() { diff --git a/examples/stops-ids-for-agency/main.go b/examples/stops-ids-for-agency/main.go index 98e0a39..aa52fa3 100644 --- a/examples/stops-ids-for-agency/main.go +++ b/examples/stops-ids-for-agency/main.go @@ -5,8 +5,8 @@ import ( "fmt" "log" - onebusaway "github.com/stainless-sdks/open-transit-go" - "github.com/stainless-sdks/open-transit-go/option" + onebusaway "github.com/OneBusAway/go-sdk" + "github.com/OneBusAway/go-sdk/option" ) func main() { diff --git a/examples/trip-details/main.go b/examples/trip-details/main.go index 31ff563..7f00d37 100644 --- a/examples/trip-details/main.go +++ b/examples/trip-details/main.go @@ -5,8 +5,8 @@ import ( "fmt" "log" - onebusaway "github.com/stainless-sdks/open-transit-go" - "github.com/stainless-sdks/open-transit-go/option" + onebusaway "github.com/OneBusAway/go-sdk" + "github.com/OneBusAway/go-sdk/option" ) func main() { diff --git a/examples/trip-for-vehicle/main.go b/examples/trip-for-vehicle/main.go index a79367b..83d44b5 100644 --- a/examples/trip-for-vehicle/main.go +++ b/examples/trip-for-vehicle/main.go @@ -5,8 +5,8 @@ import ( "fmt" "log" - onebusaway "github.com/stainless-sdks/open-transit-go" - "github.com/stainless-sdks/open-transit-go/option" + onebusaway "github.com/OneBusAway/go-sdk" + "github.com/OneBusAway/go-sdk/option" ) func main() { diff --git a/examples/trip/main.go b/examples/trip/main.go index ac2e7ce..be54103 100644 --- a/examples/trip/main.go +++ b/examples/trip/main.go @@ -5,8 +5,8 @@ import ( "fmt" "log" - onebusaway "github.com/stainless-sdks/open-transit-go" - "github.com/stainless-sdks/open-transit-go/option" + onebusaway "github.com/OneBusAway/go-sdk" + "github.com/OneBusAway/go-sdk/option" ) func main() { diff --git a/examples/trips-for-route/main.go b/examples/trips-for-route/main.go index a68fae7..bb84402 100644 --- a/examples/trips-for-route/main.go +++ b/examples/trips-for-route/main.go @@ -5,8 +5,8 @@ import ( "fmt" "log" - onebusaway "github.com/stainless-sdks/open-transit-go" - "github.com/stainless-sdks/open-transit-go/option" + onebusaway "github.com/OneBusAway/go-sdk" + "github.com/OneBusAway/go-sdk/option" ) func main() { diff --git a/examples/vehicles-for-agency/main.go b/examples/vehicles-for-agency/main.go index 1f06714..bceb8bf 100644 --- a/examples/vehicles-for-agency/main.go +++ b/examples/vehicles-for-agency/main.go @@ -5,8 +5,8 @@ import ( "fmt" "log" - onebusaway "github.com/stainless-sdks/open-transit-go" - "github.com/stainless-sdks/open-transit-go/option" + onebusaway "github.com/OneBusAway/go-sdk" + "github.com/OneBusAway/go-sdk/option" ) func main() { From 4e1fcf7f303d9bb1dfe74a295509310d353bd019 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Thu, 12 Sep 2024 21:20:44 +0000 Subject: [PATCH 2/2] release: 0.1.0-alpha.2 --- .release-please-manifest.json | 2 +- CHANGELOG.md | 8 ++++++++ README.md | 2 +- internal/version.go | 2 +- 4 files changed, 11 insertions(+), 3 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index ba6c348..f14b480 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.1.0-alpha.1" + ".": "0.1.0-alpha.2" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 64606d5..0ad4d41 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 0.1.0-alpha.2 (2024-09-12) + +Full Changelog: [v0.1.0-alpha.1...v0.1.0-alpha.2](https://github.com/OneBusAway/go-sdk/compare/v0.1.0-alpha.1...v0.1.0-alpha.2) + +### Features + +* feat: Go sdk examples ([39f90f2](https://github.com/OneBusAway/go-sdk/commit/39f90f281c61fe40cd9e7a511166b66dd23d65f0)) + ## 0.1.0-alpha.1 (2024-09-12) Full Changelog: [v0.0.1-alpha.0...v0.1.0-alpha.1](https://github.com/OneBusAway/go-sdk/compare/v0.0.1-alpha.0...v0.1.0-alpha.1) diff --git a/README.md b/README.md index 65973da..b17e14f 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ Or to pin the version: ```sh -go get -u 'github.com/OneBusAway/go-sdk@v0.1.0-alpha.1' +go get -u 'github.com/OneBusAway/go-sdk@v0.1.0-alpha.2' ``` diff --git a/internal/version.go b/internal/version.go index 5ed22d7..d6f40b3 100644 --- a/internal/version.go +++ b/internal/version.go @@ -2,4 +2,4 @@ package internal -const PackageVersion = "0.1.0-alpha.1" // x-release-please-version +const PackageVersion = "0.1.0-alpha.2" // x-release-please-version