{"id":51264,"library":"dghubble-sling","title":"Sling","description":"A Go HTTP client library for creating and sending API requests with a fluent builder pattern.","status":"active","version":"1.4.2","language":"go","source_language":null,"source_url":"https://github.com/dghubble/sling","tags":["http","client","api","fluent"],"install":[{"cmd":"go get github.com/dghubble/sling","lang":"bash","label":"Install github.com/dghubble/sling"}],"dependencies":[],"imports":[{"symbol":"sling","correct":"github.com/dghubble/sling"}],"quickstart":{"code":"package main\n\nimport (\n\t\"fmt\"\n\t\"github.com/dghubble/sling\"\n\t\"net/http\"\n)\n\nfunc main() {\n\ttype Result struct {\n\t\tArgs map[string]string `json:\"args\"`\n\t}\n\tresult := new(Result)\n\tresp, err := sling.New().Get(\"https://httpbin.org/get\").ReceiveSuccess(result)\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\tfmt.Println(resp.StatusCode, result.Args)\n}","lang":"go","description":"Performs a GET request and decodes JSON response into a struct."},"warnings":[],"env_vars":null,"search_vec":"'api':11,20 'builder':16 'client':5,19 'creat':8 'fluent':15,21 'go':3 'http':4,18 'librari':6 'pattern':17 'request':12 'send':10 'sling':1","created_at":"2026-06-15T06:06:48.200945+00:00","updated_at":"2026-06-15T06:06:48.200945+00:00","problems":[],"ecosystem":"go","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/dghubble/sling","github":"https://github.com/dghubble/sling","docs":"https://pkg.go.dev/github.com/dghubble/sling#section-documentation","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["http-client"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-15","next_check":"2026-12-12","install_tag":null}}