Go type generation tool
https://macrox.pro
4158bf4325 | ||
---|---|---|
assets | ||
cmd | ||
internal/config | ||
pkg | ||
.gitignore | ||
LICENSE | ||
README.md | ||
go.mod | ||
go.sum |
README.md
Golang types generator tool
Configuration
Example .gotygen
packages:
- name: "test"
output: "./pkc/test/types.go"
acronyms: ["ID", "JSON"]
inputs:
- name: "Response"
path: "./api/test/response1.json"
- name: "Response"
path: "./api/test/response2.json"
replacements:
- "Response.Context:ResponseContext"