Skip to content

Commit

Permalink
Remove non-existent types
Browse files Browse the repository at this point in the history
Summary:
`I08` and `UTF7` are not valid Thrift types. Not used and not needed.

https://internalfb.com/intern/staticdocs/thrift/docs/idl/#primitive-types

Reviewed By: podtserkovskiy

Differential Revision: D63548836

fbshipit-source-id: 3a3ff9ef1591c9b4dfe6afd4621710770e8c2323
  • Loading branch information
echistyakov authored and facebook-github-bot committed Sep 28, 2024
1 parent b71f6cb commit 180b6f1
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions thrift/lib/go/thrift/alias.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,13 +98,11 @@ var STOP Type = types.STOP
var VOID Type = types.VOID
var BOOL Type = types.BOOL
var BYTE Type = types.BYTE
var I08 Type = types.I08
var DOUBLE Type = types.DOUBLE
var I16 Type = types.I16
var I32 Type = types.I32
var I64 Type = types.I64
var STRING Type = types.STRING
var UTF7 Type = types.UTF7
var STRUCT Type = types.STRUCT
var MAP Type = types.MAP
var SET Type = types.SET
Expand Down
2 changes: 0 additions & 2 deletions thrift/lib/go/thrift/types/type.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,11 @@ const (
VOID = 1
BOOL = 2
BYTE = 3
I08 = 3
DOUBLE = 4
I16 = 6
I32 = 8
I64 = 10
STRING = 11
UTF7 = 11
STRUCT = 12
MAP = 13
SET = 14
Expand Down

0 comments on commit 180b6f1

Please sign in to comment.