Skip to content

Commit

Permalink
rename thrift.ProtocolID to thrift.FormatID
Browse files Browse the repository at this point in the history
Summary: rename thrift.ProtocolID to thrift.FormatID

Reviewed By: podtserkovskiy

Differential Revision: D63894579

fbshipit-source-id: 561116fea99618bb9cfb6dae4427c54ed78c9c34
  • Loading branch information
Walter Schulze authored and facebook-github-bot committed Oct 7, 2024
1 parent 2aa590a commit efb4229
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions thrift/lib/go/thrift/alias.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ type IRequest = types.IRequest

type IResponse = types.IResponse

type ProtocolID = types.ProtocolID
type FormatID = types.ProtocolID

type Format = types.Format

Expand All @@ -75,12 +75,12 @@ var CALL types.MessageType = types.CALL
var EXCEPTION types.MessageType = types.EXCEPTION
var ONEWAY types.MessageType = types.ONEWAY

var ProtocolIDBinary types.ProtocolID = types.ProtocolIDBinary
var ProtocolIDCompact types.ProtocolID = types.ProtocolIDCompact
var ProtocolIDJSON types.ProtocolID = types.ProtocolIDJSON
var ProtocolIDDebug types.ProtocolID = types.ProtocolIDDebug
var ProtocolIDVirtual types.ProtocolID = types.ProtocolIDVirtual
var ProtocolIDSimpleJSON types.ProtocolID = types.ProtocolIDSimpleJSON
var FormatIDBinary types.ProtocolID = types.ProtocolIDBinary
var FormatIDCompact types.ProtocolID = types.ProtocolIDCompact
var FormatIDJSON types.ProtocolID = types.ProtocolIDJSON
var FormatIDDebug types.ProtocolID = types.ProtocolIDDebug
var FormatIDVirtual types.ProtocolID = types.ProtocolIDVirtual
var FormatIDSimpleJSON types.ProtocolID = types.ProtocolIDSimpleJSON

var NewApplicationExceptionCause = types.NewApplicationExceptionCause
var NewApplicationException = types.NewApplicationException
Expand Down

0 comments on commit efb4229

Please sign in to comment.