9 releases

new 0.1.12 Mar 17, 2025
0.1.11 Mar 2, 2023
0.1.10 Jun 16, 2022
0.1.9 Jan 19, 2022
0.1.0 Feb 7, 2020

#3 in #molecule

Download history 8/week @ 2024-12-11 99/week @ 2025-03-12

99 downloads per month

MIT license

66KB
2K SLoC

Rust 1.5K SLoC // 0.0% comments Go 479 SLoC // 0.0% comments

molecule go plugin

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

Use

$ cargo install moleculec moleculec-go
$ moleculec --language go --schema-file "your-schema-file" | gofmt > "your-go-file"

Testset

all test from molecule

you can run make gen-test to reproduce it.

License

Licensed under MIT License.

Dependencies

~5–13MB
~164K SLoC