Skip to content

Commit

Permalink
Go: Update Module references to new adsbysnimbus repo (#145)
Browse files Browse the repository at this point in the history
  • Loading branch information
marcsantiago authored Sep 29, 2023
1 parent 4881cc6 commit 334f9be
Show file tree
Hide file tree
Showing 12 changed files with 22 additions and 23 deletions.
4 changes: 2 additions & 2 deletions go/client/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@


# client
`import "github.com/timehop/nimbus-openrtb/go/client"`
`import "github.com/adsbynimbus/nimbus-openrtb/go/client"`

* [Overview](#pkg-overview)
* [Index](#pkg-index)
Expand All @@ -23,7 +23,7 @@


#### <a name="pkg-files">Package files</a>
[client.go](/src/github.com/timehop/nimbus-openrtb/go/client/client.go) [encode.go](/src/github.com/timehop/nimbus-openrtb/go/client/encode.go) [validate-request.go](/src/github.com/timehop/nimbus-openrtb/go/client/validate-request.go)
[client.go](/src/github.com/adsbynimbus/nimbus-openrtb/go/client/client.go) [encode.go](/src/github.com/adsbynimbus/nimbus-openrtb/go/client/encode.go) [validate-request.go](/src/github.com/adsbynimbus/nimbus-openrtb/go/client/validate-request.go)



Expand Down
2 changes: 1 addition & 1 deletion go/client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"sync"
"time"

twofive "github.com/timehop/nimbus-openrtb/go/request/rtb_twofive"
twofive "github.com/adsbynimbus/nimbus-openrtb/go/request/rtb_twofive"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion go/client/client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
"testing"
"time"

twofive "github.com/timehop/nimbus-openrtb/go/request/rtb_twofive"
twofive "github.com/adsbynimbus/nimbus-openrtb/go/request/rtb_twofive"
)

type testRequest struct {
Expand Down
4 changes: 2 additions & 2 deletions go/decode/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@


# decode
`import "github.com/timehop/nimbus-openrtb/go/decode"`
`import "github.com/adsbynimbus/nimbus-openrtb/go/decode"`

* [Overview](#pkg-overview)
* [Index](#pkg-index)
Expand All @@ -16,7 +16,7 @@


#### <a name="pkg-files">Package files</a>
[request.go](/src/github.com/timehop/nimbus-openrtb/go/decode/request.go) [response.go](/src/github.com/timehop/nimbus-openrtb/go/decode/response.go)
[request.go](/src/github.com/adsbynimbus/nimbus-openrtb/go/decode/request.go) [response.go](/src/github.com/adsbynimbus/nimbus-openrtb/go/decode/response.go)



Expand Down
3 changes: 1 addition & 2 deletions go/decode/request_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,8 @@ import (
"net/http"
"testing"

twofive "github.com/adsbynimbus/nimbus-openrtb/go/request/rtb_twofive"
"github.com/google/go-cmp/cmp"

twofive "github.com/timehop/nimbus-openrtb/go/request/rtb_twofive"
)

var jsonRequestTestBody = []byte(`{"imp":[{"banner":{"w":320,"h":480,"pos":7,"api":[3,5]},"instl":1,"bidfloor":2}],"app":{"name":"foo","bundle":"bar","domain":"https://foo.com","storeurl":"https://itunes.apple.com/us/app/foo","cat":["IAB14","IAB1","IAB9"],"privacypolicy":1,"paid":0,"publisher":{"name":"foo","domain":"https://foo.com"}},"device":{"ua":"Mozilla/5.0 (iPhone; CPU iPhone OS 8_0 like Mac OS X) AppleWebKit/600.1.3 (KHTML, like Gecko) Version/8.0 Mobile/12A4345d Safari/600.1.4","geo":{"lat":37.751,"lon":-97.822,"ipservice":3,"country":"USA","city":"New York"},"dnt":0,"lmt":0,"ip":"174.193.148.17","make":"Apple","model":"iPhone","os":"ios","osv":"10.3.2","language":"en","carrier":"Verizon","connection_type":6,"ifa":"13579176-e94e-4e6e-96ae-572b787af21c"},"user":{"gender":"male"},"format":{"h":480,"w":360},"at":1,"regs":{"ext":{"gdpr":1,"us_privacy":"1YNY","gpp":"DBABMA~CPXxRfAPXxRfAAfKABENB-CgAAAAAAAAAAYgAAAAAAAA","gpp_sid":"2"}},"ext":{"api_key":"83499783-c452-461f-8c37-43877f859ba3","session_id":"1","position":"pingpong"}}`)
Expand Down
2 changes: 1 addition & 1 deletion go/decode/response_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import (
"net/http"
"testing"

"github.com/adsbynimbus/nimbus-openrtb/go/response"
"github.com/google/go-cmp/cmp"
"github.com/timehop/nimbus-openrtb/go/response"
)

var jsonResponseTestBody = []byte(`{"type":"facebook","auction_id":"7d1a4f2b-b7b2-445e-b1f9-61e7ce56ef48","bid_in_cents":100,"bid_raw":0,"content_type":"application/json; charset=utf-8","is_interstitial":1,"is_mraid":0,"markup":"{\"type\":\"ID\",\"bid_id\":\"2762638018393877168\",\"placement_id\":\"IMG_16_9_LINK#191445434271484_1906402376109106\",\"resolved_placement_id\":\"IMG_16_9_LINK#191445434271484_1906402376109106\",\"sdk_version\":\"4.99.1\",\"device_id\":\"0F9DC9F9-C7E7-4579-A945-88A87BDF91E8\",\"template\":200,\"payload\":null}","network":"facebook","trackers":{"impression_trackers":["foobar.com"],"click_trackers":["foobar.com"]},"placement_id":"IMG_16_9_LINK#191445434271484_1906402376109106"}`)
Expand Down
6 changes: 3 additions & 3 deletions go/examples/native/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import (
"fmt"
"log"

"github.com/timehop/nimbus-openrtb/go/native-builder/oneone"
"github.com/timehop/nimbus-openrtb/go/native-builder/oneone/request"
twofive "github.com/timehop/nimbus-openrtb/go/request/rtb_twofive"
"github.com/adsbynimbus/nimbus-openrtb/go/native-builder/oneone"
"github.com/adsbynimbus/nimbus-openrtb/go/native-builder/oneone/request"
twofive "github.com/adsbynimbus/nimbus-openrtb/go/request/rtb_twofive"
)

func main() {
Expand Down
8 changes: 4 additions & 4 deletions go/examples/proxy-flow/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ import (
"net/http/httptest"
"time"

"github.com/timehop/nimbus-openrtb/go/client"
"github.com/timehop/nimbus-openrtb/go/decode"
twofive "github.com/timehop/nimbus-openrtb/go/request/rtb_twofive"
"github.com/timehop/nimbus-openrtb/go/response"
"github.com/adsbynimbus/nimbus-openrtb/go/client"
"github.com/adsbynimbus/nimbus-openrtb/go/decode"
twofive "github.com/adsbynimbus/nimbus-openrtb/go/request/rtb_twofive"
"github.com/adsbynimbus/nimbus-openrtb/go/response"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion go/go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/timehop/nimbus-openrtb/go
module github.com/adsbynimbus/nimbus-openrtb/go

go 1.13

Expand Down
4 changes: 2 additions & 2 deletions go/native-builder/oneone/builder.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package oneone

import (
"github.com/adsbynimbus/nimbus-openrtb/go/internal/pool"
"github.com/adsbynimbus/nimbus-openrtb/go/native-builder/oneone/request"
"github.com/francoispqt/gojay"
"github.com/timehop/nimbus-openrtb/go/internal/pool"
"github.com/timehop/nimbus-openrtb/go/native-builder/oneone/request"
)

// BuildDefaultImageNative creatives a Native RTB Request string 1.1
Expand Down
4 changes: 2 additions & 2 deletions go/request/rtb_twofive/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@


# twofive
`import "github.com/timehop/nimbus-openrtb/go/request/rtb_twofive"`
`import "github.com/adsbynimbus/nimbus-openrtb/go/request/rtb_twofive"`

* [Overview](#pkg-overview)
* [Index](#pkg-index)
Expand Down Expand Up @@ -150,7 +150,7 @@


#### <a name="pkg-files">Package files</a>
[app.go](/src/github.com/timehop/nimbus-openrtb/go/request/rtb_twofive/app.go) [aps.go](/src/github.com/timehop/nimbus-openrtb/go/request/rtb_twofive/aps.go) [aps_custom_unmarshaller.go](/src/github.com/timehop/nimbus-openrtb/go/request/rtb_twofive/aps_custom_unmarshaller.go) [banner.go](/src/github.com/timehop/nimbus-openrtb/go/request/rtb_twofive/banner.go) [data.go](/src/github.com/timehop/nimbus-openrtb/go/request/rtb_twofive/data.go) [device.go](/src/github.com/timehop/nimbus-openrtb/go/request/rtb_twofive/device.go) [format.go](/src/github.com/timehop/nimbus-openrtb/go/request/rtb_twofive/format.go) [geo.go](/src/github.com/timehop/nimbus-openrtb/go/request/rtb_twofive/geo.go) [imp.go](/src/github.com/timehop/nimbus-openrtb/go/request/rtb_twofive/imp.go) [primitives-to-references.go](/src/github.com/timehop/nimbus-openrtb/go/request/rtb_twofive/primitives-to-references.go) [primitives.go](/src/github.com/timehop/nimbus-openrtb/go/request/rtb_twofive/primitives.go) [publisher.go](/src/github.com/timehop/nimbus-openrtb/go/request/rtb_twofive/publisher.go) [regs.go](/src/github.com/timehop/nimbus-openrtb/go/request/rtb_twofive/regs.go) [request.go](/src/github.com/timehop/nimbus-openrtb/go/request/rtb_twofive/request.go) [segment.go](/src/github.com/timehop/nimbus-openrtb/go/request/rtb_twofive/segment.go) [source.go](/src/github.com/timehop/nimbus-openrtb/go/request/rtb_twofive/source.go) [user.go](/src/github.com/timehop/nimbus-openrtb/go/request/rtb_twofive/user.go) [video.go](/src/github.com/timehop/nimbus-openrtb/go/request/rtb_twofive/video.go)
[app.go](/src/github.com/adsbynimbus/nimbus-openrtb/go/request/rtb_twofive/app.go) [aps.go](/src/github.com/adsbynimbus/nimbus-openrtb/go/request/rtb_twofive/aps.go) [aps_custom_unmarshaller.go](/src/github.com/adsbynimbus/nimbus-openrtb/go/request/rtb_twofive/aps_custom_unmarshaller.go) [banner.go](/src/github.com/adsbynimbus/nimbus-openrtb/go/request/rtb_twofive/banner.go) [data.go](/src/github.com/adsbynimbus/nimbus-openrtb/go/request/rtb_twofive/data.go) [device.go](/src/github.com/adsbynimbus/nimbus-openrtb/go/request/rtb_twofive/device.go) [format.go](/src/github.com/adsbynimbus/nimbus-openrtb/go/request/rtb_twofive/format.go) [geo.go](/src/github.com/adsbynimbus/nimbus-openrtb/go/request/rtb_twofive/geo.go) [imp.go](/src/github.com/adsbynimbus/nimbus-openrtb/go/request/rtb_twofive/imp.go) [primitives-to-references.go](/src/github.com/adsbynimbus/nimbus-openrtb/go/request/rtb_twofive/primitives-to-references.go) [primitives.go](/src/github.com/adsbynimbus/nimbus-openrtb/go/request/rtb_twofive/primitives.go) [publisher.go](/src/github.com/adsbynimbus/nimbus-openrtb/go/request/rtb_twofive/publisher.go) [regs.go](/src/github.com/adsbynimbus/nimbus-openrtb/go/request/rtb_twofive/regs.go) [request.go](/src/github.com/adsbynimbus/nimbus-openrtb/go/request/rtb_twofive/request.go) [segment.go](/src/github.com/adsbynimbus/nimbus-openrtb/go/request/rtb_twofive/segment.go) [source.go](/src/github.com/adsbynimbus/nimbus-openrtb/go/request/rtb_twofive/source.go) [user.go](/src/github.com/adsbynimbus/nimbus-openrtb/go/request/rtb_twofive/user.go) [video.go](/src/github.com/adsbynimbus/nimbus-openrtb/go/request/rtb_twofive/video.go)


## <a name="pkg-constants">Constants</a>
Expand Down
4 changes: 2 additions & 2 deletions go/response/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@


# response
`import "github.com/timehop/nimbus-openrtb/go/response"`
`import "github.com/adsbynimbus/nimbus-openrtb/go/response"`

* [Overview](#pkg-overview)
* [Index](#pkg-index)
Expand All @@ -22,7 +22,7 @@


#### <a name="pkg-files">Package files</a>
[bid_response.go](/src/github.com/timehop/nimbus-openrtb/go/response/bid_response.go) [primitives.go](/src/github.com/timehop/nimbus-openrtb/go/response/primitives.go)
[bid_response.go](/src/github.com/adsbynimbus/nimbus-openrtb/go/response/bid_response.go) [primitives.go](/src/github.com/adsbynimbus/nimbus-openrtb/go/response/primitives.go)



Expand Down

0 comments on commit 334f9be

Please sign in to comment.