https://github.com/driftluo/moleculec-go
A plugin for the molecule serialization system to generate Go code.
https://github.com/driftluo/moleculec-go
Last synced: 9 months ago
JSON representation
A plugin for the molecule serialization system to generate Go code.
- Host: GitHub
- URL: https://github.com/driftluo/moleculec-go
- Owner: driftluo
- License: mit
- Created: 2020-02-05T11:49:30.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-07-18T07:06:18.000Z (about 2 years ago)
- Last Synced: 2025-01-30T20:05:19.038Z (over 1 year ago)
- Language: Rust
- Size: 70.3 KB
- Stars: 5
- Watchers: 4
- Forks: 2
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## molecule go plugin
A plugin for the molecule serialization system to generate Go code.
### Use
```shell
$ cargo install moleculec moleculec-go
$ moleculec --language go --schema-file "your-schema-file" | gofmt > "your-go-file"
```
### Testset
all [test](./test/testset/) from [molecule](https://github.com/nervosnetwork/molecule/tree/master/test)
you can run `make gen-test` to reproduce it.
## License
Licensed under [MIT License].
[MIT License]: LICENSE