{"id":20502254,"url":"https://github.com/buzzer13/gosls","last_synced_at":"2026-06-05T17:31:48.508Z","repository":{"id":260008763,"uuid":"880043668","full_name":"buzzer13/gosls","owner":"buzzer13","description":"Golang serverless definitions and adapters","archived":false,"fork":false,"pushed_at":"2024-11-11T20:59:41.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-16T07:16:21.786Z","etag":null,"topics":["golang","golang-library","serverless"],"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/buzzer13.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"license.txt","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":"2024-10-29T02:21:39.000Z","updated_at":"2024-11-11T20:59:44.000Z","dependencies_parsed_at":"2024-10-29T03:24:10.982Z","dependency_job_id":"850deba0-9a01-49e0-9f1b-48a6678b5f9f","html_url":"https://github.com/buzzer13/gosls","commit_stats":null,"previous_names":["buzzer13/gosls"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buzzer13%2Fgosls","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buzzer13%2Fgosls/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buzzer13%2Fgosls/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buzzer13%2Fgosls/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/buzzer13","download_url":"https://codeload.github.com/buzzer13/gosls/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242097420,"owners_count":20071252,"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":["golang","golang-library","serverless"],"created_at":"2024-11-15T19:20:44.114Z","updated_at":"2025-12-02T23:01:54.587Z","avatar_url":"https://github.com/buzzer13.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GoSLS\n\n[![latest release](https://img.shields.io/github/v/release/buzzer13/gosls)](https://github.com/buzzer13/gosls/releases)\n\nThis project provides structure definitions and helper methods for writing serverless functions in the Go programming language.\n\n## Supported services\n\n- [DigitalOcean Functions](https://docs.digitalocean.com/products/functions/)\n    - Supported runtime versions: `go:1.20`\n\n# Examples\n\n```go\npackage main\n\nimport (\n    \"github.com/buzzer13/gosls/do\"\n    \"net/http\"\n)\n\nfunc Main(evm do.FuncEventMap) (do.FuncResponseMap, error) {\n    // Parse incoming event map\n    evt, err := evm.Event()\n\n    if err != nil {\n        return (\u0026do.FuncResponse{\n            Body:       \"event parse error - \" + err.Error(),\n            StatusCode: http.StatusInternalServerError,\n        }).Map(), err\n    }\n\n    // Generate http.Request from the Event object\n    req, err := evt.Request()\n\n    if err != nil {\n        return (\u0026do.FuncResponse{\n            Body:       \"request parse error - \" + err.Error(),\n            StatusCode: http.StatusBadRequest,\n        }).Map(), err\n    }\n\n    // Create response writer structure\n    res := do.FuncResponseWriter{}\n\n    // Dispatch HTTP request to your app and write result to the response.\n    // With Echo framework this may be:\n    // echoInstance.ServeHTTP(\u0026res, req)\n\n    // Generate map from the response object and return it from the function\n    return res.GetFuncResponse().Map(), nil\n}\n```\n\n# Disclaimer\n\nGoSLS is an unofficial library and is not affiliated with any of the companies whose services are supported by this library. All trademarks and registered trademarks are the property of their respective owners.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbuzzer13%2Fgosls","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbuzzer13%2Fgosls","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbuzzer13%2Fgosls/lists"}