From 86f246a3370b86d24a486a94965d5c5e05a72dde Mon Sep 17 00:00:00 2001 From: Andrew Pollock Date: Mon, 29 May 2023 17:19:02 +1000 Subject: [PATCH] Improve the installation instructions `go install` worked nicely for me once I figured it out. --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 466e521..d730032 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,10 @@ Generates Go (golang) Structs and Validation code from JSON schema. Install +```console +$ go install github.com/a-h/generate/cmd/schema-generate@latest +``` +or ```console $ go get -u github.com/a-h/generate/... ```