Documentation ¶
Index ¶
Constants ¶
View Source
const Version = "1.2.0"
Version is the current ThriftRW version.
Variables ¶
This section is empty.
Functions ¶
func CheckCompatWithGeneratedCodeAt ¶
CheckCompatWithGeneratedCodeAt will panic if the ThriftRW version used to generated code (given by `genCodeVersion`) is not compatible with the current version of ThriftRW. This function is designed to be called during initialization of the generated code.
Rationale: It is possible that the old generated code is not compatible with the new version of ThriftRW in subtle ways but still compiles successfully. This function will ensure that the version mismatch is detected and help avoid bugs that could be caused by this discrepancy.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.