{"id":20915100,"url":"https://github.com/microcks/microcks-go-client","last_synced_at":"2025-05-13T10:32:30.638Z","repository":{"id":197073958,"uuid":"697947806","full_name":"microcks/microcks-go-client","owner":"microcks","description":"Go client for accessing and using Microcks API","archived":false,"fork":false,"pushed_at":"2024-10-18T12:36:49.000Z","size":111,"stargazers_count":5,"open_issues_count":1,"forks_count":2,"subscribers_count":4,"default_branch":"main","last_synced_at":"2024-10-30T05:42:57.598Z","etag":null,"topics":["api-client","contract-testing","go","microcks","mocking"],"latest_commit_sha":null,"homepage":"https://microcks.io","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/microcks.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":"SECURITY-INSIGHTS.yml","support":null,"governance":"GOVERNANCE.md","roadmap":"ROADMAP.md","authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"microcks","patreon":null,"open_collective":"microcks","ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2023-09-28T20:03:48.000Z","updated_at":"2024-10-18T12:36:51.000Z","dependencies_parsed_at":"2023-09-28T23:15:16.693Z","dependency_job_id":"4be1baa5-0cb8-487a-aa0b-e5f91e1ec9e4","html_url":"https://github.com/microcks/microcks-go-client","commit_stats":{"total_commits":30,"total_committers":4,"mean_commits":7.5,"dds":0.5,"last_synced_commit":"8b3d28571e098023993aac4350aeedf0a43ae283"},"previous_names":["microcks/microcks-go-client"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/microcks%2Fmicrocks-go-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/microcks%2Fmicrocks-go-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/microcks%2Fmicrocks-go-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/microcks%2Fmicrocks-go-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/microcks","download_url":"https://codeload.github.com/microcks/microcks-go-client/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224189324,"owners_count":17270621,"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":["api-client","contract-testing","go","microcks","mocking"],"created_at":"2024-11-18T16:13:01.520Z","updated_at":"2025-05-13T10:32:30.629Z","avatar_url":"https://github.com/microcks.png","language":"Go","funding_links":["https://github.com/sponsors/microcks","https://opencollective.com/microcks"],"categories":[],"sub_categories":[],"readme":"# Microcks Go Client\n\nA Go Client or SDK that allows you to interact with the Microcks API.\n\n[![License](https://img.shields.io/github/license/microcks/microcks-go-client?style=for-the-badge\u0026logo=apache)](https://www.apache.org/licenses/LICENSE-2.0)\n![Go version](https://img.shields.io/github/go-mod/go-version/microcks/microcks-go-client?style=for-the-badge\u0026logo=go)\n![GitHub release](https://img.shields.io/github/downloads-pre/microcks/microcks-go-client/latest/total?style=for-the-badge)\n[![Project Chat](https://img.shields.io/badge/discord-microcks-pink.svg?color=7289da\u0026style=for-the-badge\u0026logo=discord)](https://microcks.io/discord-invite/)\n[![Artifact HUB](https://img.shields.io/endpoint?url=https://artifacthub.io/badge/repository/microcks\u0026style=for-the-badge)](https://artifacthub.io/packages/search?repo=microcks)\n[![CNCF Landscape](https://img.shields.io/badge/CNCF%20Landscape-5699C6?style=for-the-badge\u0026logo=cncf)](https://landscape.cncf.io/?item=app-definition-and-development--application-definition-image-build--microcks)\n\n\n## Build Status\n\nLatest released version is `0.3.1`.\n\nCurrent development version is `0.4.0`.\n\n#### Fossa license and security scans\n\n[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fmicrocks%2Fmicrocks-go-client.svg?type=shield\u0026issueType=license)](https://app.fossa.com/projects/git%2Bgithub.com%2Fmicrocks%2Fmicrocks-go-client?ref=badge_shield\u0026issueType=license)\n[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fmicrocks%2Fmicrocks-go-client.svg?type=shield\u0026issueType=security)](https://app.fossa.com/projects/git%2Bgithub.com%2Fmicrocks%2Fmicrocks-go-client?ref=badge_shield\u0026issueType=security)\n[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fmicrocks%2Fmicrocks-go-client.svg?type=small)](https://app.fossa.com/projects/git%2Bgithub.com%2Fmicrocks%2Fmicrocks-go-client?ref=badge_small)\n\n#### OpenSSF best practices on Microcks core\n\n[![CII Best Practices](https://bestpractices.coreinfrastructure.org/projects/7513/badge)](https://bestpractices.coreinfrastructure.org/projects/7513)\n[![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/microcks/microcks/badge)](https://securityscorecards.dev/viewer/?uri=github.com/microcks/microcks)\n\n## Community\n\n* [Documentation](https://microcks.io/documentation/tutorials/getting-started/)\n* [Microcks Community](https://github.com/microcks/community) and community meeting\n* Join us on [Discord](https://microcks.io/discord-invite/), on [GitHub Discussions](https://github.com/orgs/microcks/discussions) or [CNCF Slack #microcks channel](https://cloud-native.slack.com/archives/C05BYHW1TNJ)\n\nTo get involved with our community, please make sure you are familiar with the project's [Code of Conduct](./CODE_OF_CONDUCT.md).\n\n## Versions\n\nLatest released version is `0.3.1`. Please check the table bealow to see what version of Microcks API it matches.\n\n| Go Client | Microcks Version |\n| --------- | ---------------- |\n| `0.3.x`   | `1.10.0` and above |\n| `0.2.0`   | `1.10.0` and above |\n| `0.1.0`   | `1.8.0` and above |\n\n## Installation\n\nTo get the latest version, use go1.22 and fetch using the `go get` command. For example:\n\n```\ngo get microcks.io/go-client@latest\n```\n\nTo get a specific version, use go1.22 and fetch the desired version using the `go get` command. For example:\n\n```\ngo get microcks.io/go-client@v0.3.1\n```\n\n## Quickstart\n\n```go\npackage main\n\nimport (\n\t\"context\"\n\t\"fmt\"\n\t\"log\"\n\n\tclient \"microcks.io/go-client\"\n)\n\nconst server = \"http://localhost:8080/api\"\n\nfunc main() {\n\t// Create client\n\tc, err := client.NewClientWithResponses(server)\n\tif err != nil {\n\t\tlog.Fatal(err)\n\t}\n\n\t// Request the Keycloak configuration\n\tctx := context.Background()\n\tresp, err := c.GetKeycloakConfigWithResponse(ctx)\n\tif err != nil {\n\t\tlog.Fatal(err)\n\t}\n\n\t// Print the response\n\tfmt.Printf(\"%+v\\n\\n\", resp.JSON200)\n}\n```\n\n### License\n\nThe Apache License (apache) - see [`LICENSE.md`](https://github.com/microcks/microcks-go-client/blob/main/LICENSE.md) for more details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmicrocks%2Fmicrocks-go-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmicrocks%2Fmicrocks-go-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmicrocks%2Fmicrocks-go-client/lists"}