Skip to content

Installation

Requirements

  • Go 1.21 or later
  • Git (for cloning the repository)

Installing the Library

Add structured-goals to your Go project:

go get github.com/grokify/structured-goals

Installing CLI Tools

genschema - JSON Schema Generator

go install github.com/grokify/structured-goals/cmd/genschema@latest

genpandoc - Pandoc Markdown Generator

go install github.com/grokify/structured-goals/cmd/genpandoc@latest

Verifying Installation

Verify the library is installed correctly:

go list -m github.com/grokify/structured-goals

Verify CLI tools:

genschema --help
genpandoc --help

Building from Source

Clone and build the project:

git clone https://github.com/grokify/structured-goals.git
cd structured-goals
go build ./...
go test ./...

Optional Dependencies

For PDF generation with Pandoc renderer:

  • Pandoc - Document converter
  • LuaLaTeX - LaTeX distribution (TeX Live or MiKTeX)

For Marp slide generation: