Skip to content

Commit

Permalink
feat: Go sdk examples
Browse files Browse the repository at this point in the history
  • Loading branch information
Ahmedhossamdev committed Sep 12, 2024
1 parent fd3d26a commit 8188c72
Show file tree
Hide file tree
Showing 26 changed files with 53 additions and 53 deletions.
4 changes: 2 additions & 2 deletions examples/agencies-with-coverage/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
4 changes: 2 additions & 2 deletions examples/agency/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
4 changes: 2 additions & 2 deletions examples/arrival-and-departure-for-stop/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
4 changes: 2 additions & 2 deletions examples/arrivals-and-departures-for-stop/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
4 changes: 2 additions & 2 deletions examples/block/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
6 changes: 3 additions & 3 deletions examples/config/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
4 changes: 2 additions & 2 deletions examples/current-time/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
4 changes: 2 additions & 2 deletions examples/report-problem-with-stop/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
4 changes: 2 additions & 2 deletions examples/report-problem-with-trip/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
4 changes: 2 additions & 2 deletions examples/route/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
4 changes: 2 additions & 2 deletions examples/routes-for-agency/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
4 changes: 2 additions & 2 deletions examples/routes-for-location/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
4 changes: 2 additions & 2 deletions examples/schedule-for-route/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
4 changes: 2 additions & 2 deletions examples/schedule-for-stop/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
4 changes: 2 additions & 2 deletions examples/search-for-route/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
4 changes: 2 additions & 2 deletions examples/search-for-stop/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
4 changes: 2 additions & 2 deletions examples/shape/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
4 changes: 2 additions & 2 deletions examples/stop/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
4 changes: 2 additions & 2 deletions examples/stops-for-location/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
4 changes: 2 additions & 2 deletions examples/stops-for-route/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
4 changes: 2 additions & 2 deletions examples/stops-ids-for-agency/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
4 changes: 2 additions & 2 deletions examples/trip-details/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
4 changes: 2 additions & 2 deletions examples/trip-for-vehicle/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
4 changes: 2 additions & 2 deletions examples/trip/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
4 changes: 2 additions & 2 deletions examples/trips-for-route/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
4 changes: 2 additions & 2 deletions examples/vehicles-for-agency/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 8188c72

Please sign in to comment.