How irmindata/irmin-sdk-go works
Project type and purpose
• This is an open-source Software Development Kit (SDK) for Go (“Irmin SDK for Go-lang”), providing Go clients to interact with the Irmin data platform.
• There are two API client modules (“core-api” and “connector”), a set of domain models, and utility functions—all packaged for consumption by downstream Go code.
File structure
• Top-level packages:
• core-api/ – Core Irmin API client (HTTP methods for branches, commits, objects, users, workflows, etc.)
• connector/ – Connector API client (operations, pull/push, subscriptions, schema introspection)
• models/ – Plain Go structs modeling request payloads and API responses
• utils/ – Helper functions (JSON schema generation, CLI flag parsing, file handling, data preparation, zipping)
• Configuration files (.golangci.yml, .github workflows) are for CI/linting and not part of core SDK logic.
• There is no frontend or database; instead, the SDK communicates with external Irmin services over HTTP/REST.
README for additional insights
• The README enumerates the four primary folders and describes linting.