package main
import (
"context"
rudder "github.com/infra-rdc/rudder-go"
"log"
)
func main() {
s := rudder.New(
rudder.WithSecurity("<YOUR_API_KEY_HERE>"),
)
ctx := context.Background()
res, err := s.ChangeRequests.ListChangeRequests(ctx)
if err != nil {
log.Fatal(err)
}
if res.Object != nil {
// handle response
}
}