Skip to content

Project Interop

Targo works best when it cooperates with Go projects instead of pretending Go does not exist.

Common patterns

  • add Targo source into an existing Go module
  • import Go standard library and third-party packages directly
  • treat emitted Go as a build artifact, not the authoring source

Workflow advice

  1. confirm go.mod
  2. confirm targo.json
  3. refresh declarations after import or dependency changes
  4. keep generated output out of manual edits