{"id":22997960,"url":"https://github.com/jritsema/s3lib","last_synced_at":"2025-04-02T13:23:20.191Z","repository":{"id":44798917,"uuid":"314651200","full_name":"jritsema/s3lib","owner":"jritsema","description":"Just another go library for s3 that makes it a little easier to work with","archived":false,"fork":false,"pushed_at":"2022-01-24T02:55:07.000Z","size":7,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-02-08T04:28:21.352Z","etag":null,"topics":["client","go","s3"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jritsema.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-11-20T19:32:10.000Z","updated_at":"2022-01-24T02:53:37.000Z","dependencies_parsed_at":"2022-09-19T05:11:10.887Z","dependency_job_id":null,"html_url":"https://github.com/jritsema/s3lib","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jritsema%2Fs3lib","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jritsema%2Fs3lib/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jritsema%2Fs3lib/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jritsema%2Fs3lib/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jritsema","download_url":"https://codeload.github.com/jritsema/s3lib/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246820391,"owners_count":20839233,"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":["client","go","s3"],"created_at":"2024-12-15T06:10:01.618Z","updated_at":"2025-04-02T13:23:20.169Z","avatar_url":"https://github.com/jritsema.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# s3lib\n\nJust another go library for s3 that makes it a little easier to work with.\n\n### API\n\n#### Utilities\n\n- NewClient\n- NewClientWithSession\n- NewClientWithConfig\n- BucketKeyExists\n- DownloadFile\n- UploadDirectory\n- UploadFile\n- GetPresignedURL\n\n#### Object Persistence\n\n- GetObject\n- GetString\n- PutObject\n- DeleteObject\n- PutContent\n- List\n- KeyExists\n\n\n### Usage\n\n```\ngo get github.com/jritsema/s3lib\n```\n\n```go\ns3, err := s3lib.NewClient(\"my-bucket\", \"us-east-1\")\ncheck(err)\n\n//save an object\nobj := \u0026myType{version: \"1.0\"}\nkey := \"mykey\"\nerr = s3.PutObject(key, obj)\ncheck(err)\n\n//fetch\n_, err = s3.GetObject(key, obj)\ncheck(err)\n\n//update\nobj.version = \"2.0\"\nerr = s3.PutObject(key, obj)\ncheck(err)\n\n//delete\nerr = s3.DeleteObject(key)\ncheck(err)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjritsema%2Fs3lib","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjritsema%2Fs3lib","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjritsema%2Fs3lib/lists"}