aboutsummaryrefslogtreecommitdiff
path: root/cmd/gen (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Change a few other URLsHEADmasterRunxi Yu2024-10-211-1/+1
|
* More fork URL changesRunxi Yu2024-10-211-1/+1
|
* gen: add UINT and INT types to template mappingJohn Mulligan2020-12-101-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 packageJohn Mulligan2020-12-061-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/genTimofey2020-10-092-252/+245
| | | | | * Use text/template instead of manually writing to output file * Format generated code with gofmt
* Implement void typesDrew DeVault2020-06-231-0/+2
|
* Generalize union implementationDrew DeVault2020-06-221-8/+9
| | | | In preparation for user-defined tag values
* Drop e8/e16/e32/e64 in favor of u8/u16/u32/u64Drew DeVault2020-06-221-8/+0
|
* gen: implement unionsDrew DeVault2020-06-211-5/+68
|
* gen: add "this file is generated" commentDrew DeVault2020-06-211-1/+2
|
* gen: emit Encode function for user typesDrew DeVault2020-06-211-0/+4
|
* Add examplesDrew DeVault2020-06-211-2/+2
|
* gen: enum.String(): use non-pointer typeDrew DeVault2020-06-211-1/+1
|
* gen: emit enum -> string conversion functionsDrew DeVault2020-06-211-1/+17
|
* cmd/gen: initial commitDrew DeVault2020-06-212-0/+218