Skip to content

Commit

Permalink
1. follow Go's comment convention
Browse files Browse the repository at this point in the history
2. remove the unsupported formats instead of leaving them as comments
  • Loading branch information
SylviaF committed Jun 24, 2024
1 parent 9809b43 commit d750484
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions adapters/mediago/mediago.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ func (a *adapter) makeRequest(request *openrtb2.BidRequest) (*adapters.RequestDa
}, nil
}

// get MediaGoExt From ext.bidderparams or ext of First Imp. Only check and get first Imp.Ext.Bidder to ExtImpMediago
// getMediaGoExt get MediaGoExt From ext.bidderparams or ext of First Imp. Only check and get first Imp.Ext.Bidder to ExtImpMediago
func getMediaGoExt(request *openrtb2.BidRequest) (*openrtb_ext.ExtMediaGo, error) {
var extMediaGo openrtb_ext.ExtMediaGo
var extBidder adapters.ExtImpBidder
Expand Down Expand Up @@ -191,10 +191,6 @@ func getBidType(bid openrtb2.Bid, imps []openrtb2.Imp) (openrtb_ext.BidType, err
return openrtb_ext.BidTypeBanner, nil
case openrtb2.MarkupNative:
return openrtb_ext.BidTypeNative, nil
// case openrtb2.MarkupAudio:
// return openrtb_ext.BidTypeAudio, nil
// case openrtb2.MarkupVideo:
// return openrtb_ext.BidTypeVideo, nil
default:
for _, imp := range imps {
if imp.ID == bid.ImpID {
Expand Down

0 comments on commit d750484

Please sign in to comment.