Installation
Current published release:v0.1.10 (verified July 12, 2026).
go get github.com/mishrasanjeev/grantex-go command follows Go’s
module-version resolution. Keep the exact version above in reproducible builds.
See Release Status before upgrading.
Requirements
- Go 1.26.1+, matching this module’s
go.moddirective
Configuration
Known v0.1.10 limitations
- Registration returns
agentId, whileAgent.IDexpectsid; derive the ID from the returned DID. - Registration sends optional zero values; updates cannot set
statusor send an explicit emptyscopesarray. Provide registration fields explicitly and use REST for those updates. - The typed audit payload omits required fields; use the REST or CLI audit-write workaround.
AuditEntryomitsDeveloperID, and the SDK advertisesSince,Until,Page, andPageSizeaudit filters that the API ignores.- Agent and audit list structs expose
Total,Page, andPageSize, but the API returns onlyagentsorentries; use the slice length for this release. - List helpers do not URL-encode reserved characters in filter values; avoid them or issue a REST request with a
net/url-encoded query.
Repository source on
main corrects all documented v0.1.10 Agent/Audit contract gaps, removes unsupported audit filters, and URL-encodes query values, with API-shaped regression coverage.
No corrected module tag has been published. The pinned v0.1.10 install and workarounds remain the supported public-release guidance.