{"id":23960373,"url":"https://github.com/shafiqaimanx/slash","last_synced_at":"2025-02-24T12:19:14.379Z","repository":{"id":271156117,"uuid":"912550317","full_name":"shafiqaimanx/slash","owner":"shafiqaimanx","description":"Simple HTTP library for Golang, heavily inspired by: https://github.com/gocolly/colly","archived":false,"fork":false,"pushed_at":"2025-01-13T20:04:15.000Z","size":14,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-13T20:39:38.448Z","etag":null,"topics":["go","golang","http"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/shafiqaimanx.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-01-05T22:02:35.000Z","updated_at":"2025-01-13T19:54:03.000Z","dependencies_parsed_at":"2025-01-05T23:29:52.538Z","dependency_job_id":null,"html_url":"https://github.com/shafiqaimanx/slash","commit_stats":null,"previous_names":["shafiqaimanx/slash"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shafiqaimanx%2Fslash","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shafiqaimanx%2Fslash/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shafiqaimanx%2Fslash/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shafiqaimanx%2Fslash/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shafiqaimanx","download_url":"https://codeload.github.com/shafiqaimanx/slash/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240475239,"owners_count":19807292,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["go","golang","http"],"created_at":"2025-01-06T19:27:43.198Z","updated_at":"2025-02-24T12:19:14.203Z","avatar_url":"https://github.com/shafiqaimanx.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Slash://\n\n## Example\n\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\n\t\"github.com/shafiqaimanx/slash/pkg/slash\"\n)\n\nfunc main() {\n\t// Init the SlashClient\n\tsc := slash.NewSlashClient()\n\n\t// OnResponse will print the response body\n\tsc.OnResponse(func(r *slash.Response) {\n\t\tfmt.Printf(\"Response Body:\\n %s\\n\", r.Body)\n\t})\n\n\t// OnError handling errors\n\tsc.OnError(func(r *slash.Response, err error) {\n\t\tif err != nil {\n\t\t\tfmt.Printf(\"Error: %v\\n\", err)\n\t\t}\n\t})\n\n\t// Visiting the URL\n\tsc.Visit(\"https://example.com\")\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshafiqaimanx%2Fslash","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshafiqaimanx%2Fslash","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshafiqaimanx%2Fslash/lists"}