{"id":22025312,"url":"https://github.com/beeceej/eas3y","last_synced_at":"2026-04-18T00:01:48.153Z","repository":{"id":144411623,"uuid":"121467819","full_name":"beeceej/eas3y","owner":"beeceej","description":"Ea(S3)ily Save Go structs to S3","archived":false,"fork":false,"pushed_at":"2018-10-09T15:25:46.000Z","size":11320,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-23T10:46:24.506Z","etag":null,"topics":["aws","easy","go","golang","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/beeceej.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-02-14T03:50:07.000Z","updated_at":"2023-09-07T16:10:15.000Z","dependencies_parsed_at":null,"dependency_job_id":"76271456-8e30-4d35-b6e3-d31172315a8d","html_url":"https://github.com/beeceej/eas3y","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/beeceej/eas3y","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beeceej%2Feas3y","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beeceej%2Feas3y/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beeceej%2Feas3y/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beeceej%2Feas3y/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/beeceej","download_url":"https://codeload.github.com/beeceej/eas3y/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beeceej%2Feas3y/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31950891,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-17T17:29:20.459Z","status":"ssl_error","status_checked_at":"2026-04-17T17:28:47.801Z","response_time":62,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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","easy","go","golang","s3"],"created_at":"2024-11-30T07:15:42.201Z","updated_at":"2026-04-18T00:01:48.147Z","avatar_url":"https://github.com/beeceej.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# eas3y\n[![Build Status](https://travis-ci.org/beeceej/eas3y.svg?branch=master)](https://travis-ci.org/beeceej/eas3y)\n[![Go Report Card](https://goreportcard.com/badge/github.com/beeceej/eas3y)](https://goreportcard.com/report/github.com/beeceej/eas3y)\n\nExample usage:\n\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\n\t\"github.com/aws/aws-sdk-go/aws\"\n\t\"github.com/aws/aws-sdk-go/aws/session\"\n\t\"github.com/aws/aws-sdk-go/service/s3\"\n\t\"github.com/beeceej/eas3y\"\n)\n\nvar svc = s3.New(session.Must(session.NewSession(\u0026aws.Config{Region: aws.String(\"us-east-1\")})))\n\n// ExampleCustom is an example struct for eas3y\ntype ExampleCustom struct {\n\tName string\n}\n\n// ExampleDefault is an example struct for eas3y\ntype ExampleDefault struct {\n\tName string\n}\n\n// SaveConfig builds a save configuration for eas3y to use when putting to s3\nfunc (e *ExampleCustom) SaveConfig() *eas3y.Config {\n\treturn eas3y.NewConfig(\n\t\teas3y.WithBucket(\"eas3y\"),\n\t\teas3y.WithKey(e.Name),\n\t\teas3y.WithContentType(\"text/xml\"),\n\t\teas3y.AsXML(),\n\t)\n}\n\n// SaveConfig builds a save configuration for eas3y to use when putting to s3\nfunc (e *ExampleDefault) SaveConfig() *eas3y.Config {\n\treturn eas3y.NewDefaultConfig(\"eas3y\", e.Name)\n}\n\nfunc main() {\n\tvar (\n\t\tout *s3.PutObjectOutput\n\t\terr error\n\t)\n\n\teDefault := \u0026ExampleDefault{Name: \"Default\"}\n\tout, err = eas3y.Save(svc, eDefault)\n\tif err != nil {\n\t\tfmt.Println(err.Error())\n\t} else {\n\t\tfmt.Println(out.GoString())\n\t}\n\n\teCustom := \u0026ExampleCustom{Name: \"Custom\"}\n\tout, err = eas3y.Save(svc, eCustom)\n\tif err != nil {\n\t\tfmt.Println(err.Error())\n\t} else {\n\t\tfmt.Println(out.GoString())\n\t}\n}\n\n```\n\nWill result in the following files in S3\n\n-\u003e `[bucket=eas3y]/Custom.xml`\n\n-\u003e `[bucket=eas3y]/Default.json`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbeeceej%2Feas3y","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbeeceej%2Feas3y","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbeeceej%2Feas3y/lists"}