a-h / generate

Generates Go (golang) Structs from JSON schema.
MIT License
443 stars 136 forks source link

suggestion for use the code #90

Open mx2432544821 opened 1 year ago

mx2432544821 commented 1 year ago

I advise that readme.txt should have more detail. such as

  1. go mod init github.com/a-h/generate
  2. go mod tidy
  3. go run cmd/schema-generate/main.go your_test_json_path.json
  4. make
  5. ./schema-generate your_test_json_path.json