Skip to content

Latest commit

 

History

History
10 lines (6 loc) · 533 Bytes

plugin.md

File metadata and controls

10 lines (6 loc) · 533 Bytes

Binary Plugin

Per #185, we decide to support more drivers using the plugin way.

The plugin works like protoc , developers should impls theirs generator.

ezorm.v2 will parse the YAML metadata and the call the bin , passes the metadata with JSON schema to STDIN, so , the user-side binary should read the metadata from STDIN and can use our pkg/plugin to decode the metadata to the the generator.

Check the e2e example for the detail usage.