{"id":19485364,"url":"https://github.com/philippgille/apiomat-sdk-go","last_synced_at":"2025-10-08T14:22:54.385Z","repository":{"id":57554361,"uuid":"127952123","full_name":"philippgille/apiomat-sdk-go","owner":"philippgille","description":"Go (golang) SDK for ApiOmat","archived":false,"fork":false,"pushed_at":"2019-05-15T22:30:36.000Z","size":102,"stargazers_count":1,"open_issues_count":3,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-08-11T09:32:55.340Z","etag":null,"topics":["aom","apiomat","go","golang","library","package","sdk"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/philippgille.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":"2018-04-03T18:35:04.000Z","updated_at":"2018-06-23T20:48:11.000Z","dependencies_parsed_at":"2022-09-26T18:51:19.689Z","dependency_job_id":null,"html_url":"https://github.com/philippgille/apiomat-sdk-go","commit_stats":null,"previous_names":["philippgille/apiomat-go"],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/philippgille/apiomat-sdk-go","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/philippgille%2Fapiomat-sdk-go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/philippgille%2Fapiomat-sdk-go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/philippgille%2Fapiomat-sdk-go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/philippgille%2Fapiomat-sdk-go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/philippgille","download_url":"https://codeload.github.com/philippgille/apiomat-sdk-go/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/philippgille%2Fapiomat-sdk-go/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278957198,"owners_count":26075412,"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","status":"online","status_checked_at":"2025-10-08T02:00:06.501Z","response_time":56,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["aom","apiomat","go","golang","library","package","sdk"],"created_at":"2024-11-10T20:27:30.109Z","updated_at":"2025-10-08T14:22:54.336Z","avatar_url":"https://github.com/philippgille.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# apiomat-sdk-go\n\n[![Build Status](https://travis-ci.org/philippgille/apiomat-sdk-go.svg?branch=master)](https://travis-ci.org/philippgille/apiomat-sdk-go) [![Build status](https://ci.appveyor.com/api/projects/status/61qhp3dm6a7ukrtq/branch/master?svg=true)](https://ci.appveyor.com/project/philippgille/apiomat-sdk-go/branch/master) [![Go Report Card](https://goreportcard.com/badge/github.com/philippgille/apiomat-sdk-go)](https://goreportcard.com/report/github.com/philippgille/apiomat-sdk-go) [![GitHub Releases](https://img.shields.io/github/release/philippgille/apiomat-sdk-go.svg)](https://github.com/philippgille/apiomat-sdk-go/releases)\n\nGo (golang) SDK for ApiOmat\n\nUnder construction!\n\n\u003cimg src=\"https://octodex.github.com/images/constructocat2.jpg\" alt=\"under-construction\" width=\"150\"/\u003e [![baby-gopher](https://raw.githubusercontent.com/drnic/babygopher-site/gh-pages/images/babygopher-badge.png)](http://www.babygopher.org)\n\n## Contents\n\n- [aomx - Package with shared functionality for sending requests to ApiOmat](#aomx)\n- [aomc - Package for handling \"customer\" resources during design-time](#aomc)\n- [aomu - Package for handling \"user\" resources during runtime](#aomu)\n\n## aomx\n\nPackage aomx contains common functionality for sending HTTP requests to an ApiOmat server.\n\nThe \"x\" in aomx is for \"cross\" (cutting functionality), because the package is used by the aomc and aomu packages.\nInstead of using this package directly, you should use the packages `aomc` or `aomu` instead.\n\n[![GoDoc](https://godoc.org/github.com/philippgille/apiomat-sdk-go/aomx?status.svg)](https://godoc.org/github.com/philippgille/apiomat-sdk-go/aomx)\n\n## aomc\n\nPackage for handling \"customer\" resources during design-time\n\n### Usage\n\n[![GoDoc](https://godoc.org/github.com/philippgille/apiomat-sdk-go/aomc?status.svg)](https://godoc.org/github.com/philippgille/apiomat-sdk-go/aomc)\n\n#### Example\n\n```go\npackage main\n\nimport (\n    \"fmt\"\n\n    \"github.com/philippgille/apiomat-sdk-go/aomc\"\n)\n\nfunc main() {\n    client := aomc.NewDefaultClient(\"https://apiomat.yourcompany.com/yambas/rest\", \"john\", \"secret\", \"\")\n    classes, err := client.GetClasses(\"TestModule\")\n    if err != nil {\n        panic(err)\n    }\n    fmt.Printf(\"%+v\", classes) // [{AllowedRolesCreate:[] AllowedRolesGrant:[] ...} {...}]\n}\n```\n\n### Build\n\nFor updating the ApiOmat customer resource types such as `dto.Class`, you can turn example JSON into structs with [gojson](https://github.com/ChimeraCoder/gojson) like this:\n\n```bash\ngojson -input \"dto/class.json\" -name \"Class\" -o \"dto/class.go\" -pkg \"dto\"\n```\n\n## aomu\n\nPackage for handling \"user\" resources during runtime\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphilippgille%2Fapiomat-sdk-go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphilippgille%2Fapiomat-sdk-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphilippgille%2Fapiomat-sdk-go/lists"}