
sling
No description available.
The Lens
Sling is a small library that makes building and sending those requests less tedious. Instead of manually constructing http.Request objects, setting headers, encoding query parameters, and parsing responses, Sling gives you a chainable builder pattern. A Go equivalent of Python's requests library, but lighter.
MIT license, Go. The API is clean: `sling.New.Base(url).Get(path).QueryStruct(params).ReceiveSuccess(response)`. Supports JSON encoding/decoding, form data, custom headers, and base URL composition. No external dependencies beyond the standard library.
Fully free. It's a library. Install it with `go get`, use it in your code. No service, no hosting, nothing to pay for.
The catch: this is a mature-but-quiet project. The Go standard library's `net/http` is already good. Sling saves typing but doesn't add capabilities. If your team has strong opinions about minimizing dependencies, the standard library does everything Sling does with more code. And for complex API clients, you might want a full SDK generator like OpenAPI instead of a request builder.
Get tools like this every Wednesday
One featured tool, three on the radar. No fluff.
Free vs Self-Hosted vs Paid
fully freeFully open source under MIT. It's a Go library. No service, no hosting, no paid tier possible. Install via `go get` and use in your code.
Free. It's a library, not a service.
Similar Tools
About
- Owner
- dghubble (Organization)
- Stars
- 1,716
- Forks
- 123
Explore Further
More tools in the directory
openclaw
Your own personal AI assistant. Any OS. Any Platform. The lobster way. 🦞
370.3k ★claw-code
The repo is finally unlocked. enjoy the party! The fastest repo in history to surpass 100K stars ⭐. Join Discord: https://discord.gg/5TUQKqFWd Built in Rust using oh-my-codex.
190.9k ★n8n
Fair-code workflow automation with native AI capabilities
187.3k ★