{"id":30126474,"url":"https://github.com/iotaledger/hive.go","last_synced_at":"2025-08-10T16:50:25.267Z","repository":{"id":38487020,"uuid":"221179017","full_name":"iotaledger/hive.go","owner":"iotaledger","description":"A Go library containing data structures, various utils and abstractions which are used by both GoShimmer and Hornet.","archived":false,"fork":false,"pushed_at":"2025-04-09T14:05:46.000Z","size":4869,"stargazers_count":61,"open_issues_count":0,"forks_count":25,"subscribers_count":25,"default_branch":"develop","last_synced_at":"2025-07-31T09:49:48.710Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/iotaledger.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":".github/SECURITY.md","support":".github/SUPPORT.md","governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2019-11-12T09:27:25.000Z","updated_at":"2025-04-09T14:05:51.000Z","dependencies_parsed_at":"2023-09-26T15:05:07.817Z","dependency_job_id":"fa6da736-32ca-414f-b2ce-e0e8a481c503","html_url":"https://github.com/iotaledger/hive.go","commit_stats":{"total_commits":748,"total_committers":37,"mean_commits":"20.216216216216218","dds":0.8021390374331551,"last_synced_commit":"6abddaf15db9483679df3a1600b1221cff96d585"},"previous_names":[],"tags_count":17,"template":false,"template_full_name":null,"purl":"pkg:github/iotaledger/hive.go","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iotaledger%2Fhive.go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iotaledger%2Fhive.go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iotaledger%2Fhive.go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iotaledger%2Fhive.go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iotaledger","download_url":"https://codeload.github.com/iotaledger/hive.go/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iotaledger%2Fhive.go/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269756297,"owners_count":24470560,"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-08-10T02:00:08.965Z","response_time":71,"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":[],"created_at":"2025-08-10T16:50:19.861Z","updated_at":"2025-08-10T16:50:25.219Z","avatar_url":"https://github.com/iotaledger.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch2 align=\"center\"\u003eA utility library for the GoShimmer and Hornet node software\u003c/h2\u003e\r\n\r\n\u003cp align=\"center\"\u003e\r\n  \u003ca href=\"https://discord.iota.org/\" style=\"text-decoration:none;\"\u003e\u003cimg src=\"https://img.shields.io/badge/Discord-9cf.svg?logo=discord\" alt=\"Discord\"\u003e\u003c/a\u003e\r\n    \u003ca href=\"https://iota.stackexchange.com/\" style=\"text-decoration:none;\"\u003e\u003cimg src=\"https://img.shields.io/badge/StackExchange-9cf.svg?logo=stackexchange\" alt=\"StackExchange\"\u003e\u003c/a\u003e\r\n    \u003ca href=\"https://github.com/iotaledger/hive.go/blob/master/LICENSE\" style=\"text-decoration:none;\"\u003e\u003cimg src=\"https://img.shields.io/github/license/iotaledger/hive.go.svg\" alt=\"Apache 2.0 license\"\u003e\u003c/a\u003e\r\n\u003c/p\u003e\r\n\r\n\u003cp align=\"center\"\u003e\r\n  \u003ca href=\"#about\"\u003eAbout\u003c/a\u003e ◈\r\n  \u003ca href=\"#prerequisites\"\u003ePrerequisites\u003c/a\u003e ◈\r\n  \u003ca href=\"#installation\"\u003eInstallation\u003c/a\u003e ◈\r\n  \u003ca href=\"#getting-started\"\u003eGetting started\u003c/a\u003e ◈\r\n  \u003ca href=\"#supporting-the-project\"\u003eSupporting the project\u003c/a\u003e ◈\r\n  \u003ca href=\"#joining-the-discussion\"\u003eJoining the discussion\u003c/a\u003e\r\n\u003c/p\u003e\r\n\r\n---\r\n\r\n## About\r\n\r\nHive.go is a shared library that is used in the [GoShimmer](https://github.com/iotaledger/goshimmer), [Hornet](https://github.com/iotaledger/hornet) and [IOTA Core](https://github.com/iotaledger/iota-core) node software. This library contains shared:\r\n* Data structures\r\n* Utility methods\r\n* Abstractions\r\n\r\nThis is beta software, so there may be performance and stability issues.\r\nPlease report any issues in our [issue tracker](https://github.com/iotaledger/hive.go/issues/new).\r\n\r\n## Prerequisites\r\n\r\nTo use the library, you need to have at least [version 1.13 of Go](https://golang.org/doc/install) installed on your device.\r\n\r\nTo check if you have Go installed, run the following command:\r\n\r\n```bash\r\ngo version\r\n```\r\n\r\nIf Go is installed, you should see the version that's installed.\r\n\r\n## Installation\r\n\r\nTo install Hive.go and its dependencies, you can use one of the following options:\r\n\r\n* If you use Go modules, just import the packages that you want to use\r\n\r\n    ```bash\r\n    import (\r\n    \"github.com/iotaledger/hive.go/logger\"\r\n    \"github.com/iotaledger/hive.go/node\"\r\n    )\r\n    ```\r\n\r\n* To download the library from GitHub, use the `go get` command\r\n\r\n    ```bash\r\n    go get github.com/iotaledger/hive.go\r\n    ```\r\n\r\n## Getting started\r\n\r\nAfter you've [installed the library](#installation), you can use it in your project.\r\n\r\nFor example, to create a new `logger` instance:\r\n\r\n```js\r\nimport \"github.com/iotaledger/hive.go/logger\"\r\n\r\nlog = logger.NewLogger('myNewLoggerName')\r\n```\r\n\r\n### Activating deadlock detection\r\n\r\nTo replace the mutexes in the `syncutils` package with [Go deadlock](https://github.com/sasha-s/go-deadlock), use the `deadlock` build flag when compiling your program.\r\n\r\n## Supporting the project\r\n\r\nIf this library has been useful to you and you feel like contributing, consider submitting a [bug report](https://github.com/iotaledger/hive.go/issues/new), [feature request](https://github.com/iotaledger/hive.go/issues/new) or a [pull request](https://github.com/iotaledger/hive.go/pulls/).\r\n\r\nSee our [contributing guidelines](.github/CONTRIBUTING.md) for more information.\r\n\r\n## Joining the discussion\r\n\r\nIf you want to get involved in the community, need help with getting set up, have any issues related to the library or just want to discuss IOTA, Distributed Registry Technology (DRT), and IoT with other people, feel free to join our [Discord](https://discord.iota.org/).\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiotaledger%2Fhive.go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fiotaledger%2Fhive.go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiotaledger%2Fhive.go/lists"}