Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Change a few other URLsHEADmaster | Runxi Yu | 2024-10-21 | 1 | -1/+1 |
| | |||||
* | More fork URL changes | Runxi Yu | 2024-10-21 | 1 | -1/+1 |
| | |||||
* | gen: add UINT and INT types to template mapping | John Mulligan | 2020-12-10 | 1 | -0/+4 |
| | | | | | | | The UINT and INT types were not present in the generator and caused enums generation to fail. Signed-off-by: John Mulligan <phlogistonjohn@asynchrono.us> | ||||
* | gen: only add errors import if type needs errors package | John Mulligan | 2020-12-06 | 1 | -3/+10 |
| | | | | | | | The errors package will only be imported if its needed later in the code. Currently this is only if an enum is generated. Signed-off-by: John Mulligan <phlogistonjohn@asynchrono.us> | ||||
* | Refactor cmd/gen | Timofey | 2020-10-09 | 2 | -252/+245 |
| | | | | | * Use text/template instead of manually writing to output file * Format generated code with gofmt | ||||
* | Implement void types | Drew DeVault | 2020-06-23 | 1 | -0/+2 |
| | |||||
* | Generalize union implementation | Drew DeVault | 2020-06-22 | 1 | -8/+9 |
| | | | | In preparation for user-defined tag values | ||||
* | Drop e8/e16/e32/e64 in favor of u8/u16/u32/u64 | Drew DeVault | 2020-06-22 | 1 | -8/+0 |
| | |||||
* | gen: implement unions | Drew DeVault | 2020-06-21 | 1 | -5/+68 |
| | |||||
* | gen: add "this file is generated" comment | Drew DeVault | 2020-06-21 | 1 | -1/+2 |
| | |||||
* | gen: emit Encode function for user types | Drew DeVault | 2020-06-21 | 1 | -0/+4 |
| | |||||
* | Add examples | Drew DeVault | 2020-06-21 | 1 | -2/+2 |
| | |||||
* | gen: enum.String(): use non-pointer type | Drew DeVault | 2020-06-21 | 1 | -1/+1 |
| | |||||
* | gen: emit enum -> string conversion functions | Drew DeVault | 2020-06-21 | 1 | -1/+17 |
| | |||||
* | cmd/gen: initial commit | Drew DeVault | 2020-06-21 | 2 | -0/+218 |