{"id":37124127,"url":"https://github.com/bandros/awss3","last_synced_at":"2026-01-14T14:19:54.505Z","repository":{"id":118218371,"uuid":"171081485","full_name":"bandros/awsS3","owner":"bandros","description":"S3 Upload Library","archived":false,"fork":false,"pushed_at":"2021-04-06T08:28:43.000Z","size":22,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-06-21T13:10:50.892Z","etag":null,"topics":["aws","golang","s3"],"latest_commit_sha":null,"homepage":null,"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/bandros.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":"2019-02-17T04:27:04.000Z","updated_at":"2021-04-06T08:28:45.000Z","dependencies_parsed_at":null,"dependency_job_id":"325995d6-c9da-49d1-90eb-bddc966b91ee","html_url":"https://github.com/bandros/awsS3","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/bandros/awsS3","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bandros%2FawsS3","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bandros%2FawsS3/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bandros%2FawsS3/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bandros%2FawsS3/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bandros","download_url":"https://codeload.github.com/bandros/awsS3/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bandros%2FawsS3/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28422647,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T13:30:50.153Z","status":"ssl_error","status_checked_at":"2026-01-14T13:29:08.907Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["aws","golang","s3"],"created_at":"2026-01-14T14:19:53.786Z","updated_at":"2026-01-14T14:19:54.490Z","avatar_url":"https://github.com/bandros.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"## AWS S3 Library for Go\nHow to using S3 in AWS\n\n## Upload\nfile,_ := c.FormFile(\"file\")\\\nimg := awsS3.S3img{}\\\nimg.Width = 200\\\nimg.Prefix = \"data_\"\\\nimg.AwsRegion = \"ap-southeast-1\"\\\nimg.AwsKey = \"Aws Key\"\\\nimg.AwsScreetKey = \"Aws Screet Key\"\\\nerr := img.SetMulti(file)\\\nif err != nil {\\\n    fmt.Println(\"Set Img: \",err.Error())\\\n    return\\\n}\\\nlocation, err := img.Upload(\"bucket/folder\")\\\nif err != nil {\\\n    fmt.Println(\"Upload: \",err.Error())\\\n    return\\\n}\\\nfmt.Println(\"Location: \",location)\n\n\n## Multi Upload\nform, _ := c.MultipartForm()\\\nfiles := form.File[\"file[]\"]\\\nimg := awsS3.S3img{}\\\nimg.Width = 200\\\nimg.Prefix = \"multi_\"\\\nimg.AwsRegion = \"ap-southeast-1\"\\\nimg.AwsKey = \"Aws Key\"\\\nimg.AwsScreetKey = \"Aws Screet Key\"\\\nerr := img.SetMulti(files)\\\nif err != nil {\\\n    fmt.Println(\"Set Img: \",err.Error())\\\n    return\\\n}\\\nlocation, err := img.Upload(\"bucket/folder\")\\\nif err != nil {\\\n  fmt.Println(\"Upload: \",err.Error())\\\n  return\\\n}\\\nfmt.Println(\"Location: \",location)\n\n\n## List file on Bucket\nimg := awsS3.S3img{}\\\nimg.AwsRegion = \"ap-southeast-1\"\\\nimg.AwsKey = \"Aws Key\"\\\nimg.AwsScreetKey = \"Aws Screet Key\"\\\nlocation, err := img.List(\"bucket/folder\")\\\nif err != nil {\\\n    fmt.Println(err.Error())\\\n    return\\\n}\\\nfor _,v := range list {\\\n    if v.IsFolder {\\\n        continue\\\n    }\\\n    fmt.Println(v.File,\" in \",v.Folder)\\\n}\n\n## Check File\nimg := awsS3.S3img{}\\\nimg.AwsRegion = \"ap-southeast-1\"\\\nimg.AwsKey = \"Aws Key\"\\\nimg.AwsScreetKey = \"Aws Screet Key\"\\\nlocation, err := img.Exist(\"bucket/folder\")\\\nif err != nil {\\\n    fmt.Println(err.Error())\\\n    return\\\n}\\\nif exist {\\\n    fmt.Println(\"File exist \")\\\n}else{\\\n    fmt.Println(\"File doesn't exist\")\\\n}\n\n\n**Creator**\nhttps://github.com/tss182","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbandros%2Fawss3","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbandros%2Fawss3","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbandros%2Fawss3/lists"}