Introduction to Gostman: A Unified API Client Solution
In the fragmented landscape of API development, where REST, GraphQL, gRPC, and WebSocket protocols coexist, developers often grapple with toolchain fragmentation . Each protocol demands specialized clients, and cross-platform compatibility becomes a nightmare. Gostman emerges as a unified solution , addressing this core problem by consolidating all request logic into a single Go engine . This engine, residing in the engine/ directory, handles everything from variable substitution to OAuth 2 authentication using the Go standard library and x/net/publicsuffix . The result? A consistent request pipeline shared across desktop, CLI, and web versions, eliminating environment-specific quirks.
Consider the CLI implementation : gostman run executes collections, generates JUnit reports, and enforces CI compatibility with non-zero exit codes on failures. Pre/post scripts run in a sandboxed JavaScript environment via goja , pinned to a Go 1.24-compatible commit.…