Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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: about 1 month ago
JSON representation

A plugin for the molecule serialization system to generate Go code.

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