forked from samuel/go-thrift
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use a bool on the GoGenerator struct for SignedBytes instruction.
Updated the README to reflect the new help message. Added a test file in a new subdirectory to prevent other generator tests from failing. And added a new test to only target the SignedBytes feature.
- Loading branch information
Coleman McFarland
committed
Jan 9, 2016
1 parent
482b032
commit a07debc
Showing
6 changed files
with
68 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
// This file is automatically generated. Do not modify. | ||
|
||
package gentest | ||
|
||
import ( | ||
"fmt" | ||
) | ||
|
||
var _ = fmt.Sprintf | ||
|
||
type ByteAndListByte struct { | ||
AByte int8 `thrift:"1,required" json:"a_byte"` | ||
AListByte []int8 `thrift:"2,required" json:"a_list_byte"` | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
namespace go gentest | ||
|
||
struct ByteAndListByte { | ||
1: byte a_byte, | ||
2: list<byte> a_list_byte | ||
} |