Go type generation tool https://macrox.pro
Go to file
Alexander Garin 4158bf4325 - Add logo.png 2023-02-15 17:50:03 +03:00
assets - Add logo.png 2023-02-15 17:50:03 +03:00
cmd - Fix string case operations 2023-02-15 17:47:43 +03:00
internal/config - Add replacements 2023-02-14 17:23:46 +03:00
pkg - Fix string case operations 2023-02-15 17:47:43 +03:00
.gitignore - Add merge structures 2023-02-13 15:49:37 +03:00
LICENSE - Add replacements 2023-02-14 17:23:46 +03:00
README.md - Fix string case operations 2023-02-15 17:47:43 +03:00
go.mod - Fix omitempty 2023-02-15 15:52:57 +03:00
go.sum - Add replacements 2023-02-14 17:23:46 +03:00

README.md

gotygen

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"