{"id":15034918,"url":"https://github.com/opensourcedoc/go-c-cpp-mix","last_synced_at":"2025-04-09T22:52:00.312Z","repository":{"id":77782876,"uuid":"56444251","full_name":"opensourcedoc/go-c-cpp-mix","owner":"opensourcedoc","description":"Using C++ Class in Golang","archived":false,"fork":false,"pushed_at":"2021-10-15T18:32:36.000Z","size":9,"stargazers_count":9,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-09T22:51:53.237Z","etag":null,"topics":["cgo","cpp","golang-examples"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/opensourcedoc.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}},"created_at":"2016-04-17T15:39:29.000Z","updated_at":"2023-12-04T14:14:24.000Z","dependencies_parsed_at":null,"dependency_job_id":"f557e49a-d916-4c16-a274-79af7646806f","html_url":"https://github.com/opensourcedoc/go-c-cpp-mix","commit_stats":null,"previous_names":["cwchentw/go-c-cpp-mix"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opensourcedoc%2Fgo-c-cpp-mix","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opensourcedoc%2Fgo-c-cpp-mix/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opensourcedoc%2Fgo-c-cpp-mix/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opensourcedoc%2Fgo-c-cpp-mix/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/opensourcedoc","download_url":"https://codeload.github.com/opensourcedoc/go-c-cpp-mix/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248125642,"owners_count":21051766,"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":["cgo","cpp","golang-examples"],"created_at":"2024-09-24T20:26:47.735Z","updated_at":"2025-04-09T22:52:00.288Z","avatar_url":"https://github.com/opensourcedoc.png","language":"C++","readme":"# Using C++ Class in Golang\n\nGolang programs can utilize C functions through cgo. Nevertheless, cgo cannot access C++ code base. To utilize C++ code base in Golang, we have to wrap C++ code with C.\n\nHere is a small sample to show such usage.\n\n## Copyright\n\nCopyright (c) 2019-2020, Michelle Chen. Licensed under Apache 2.0.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopensourcedoc%2Fgo-c-cpp-mix","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopensourcedoc%2Fgo-c-cpp-mix","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopensourcedoc%2Fgo-c-cpp-mix/lists"}