cilium/hive

Hive dependency injection

Go

27

107 commits

updated Oct 6, 2026

See the code

README

🐝 Hive GoDoc

Hive is a dependency injection framework for Go. To build an application in Hive you tell it your object constructors and then ask it to invoke functions that make use of those constructors. Hive figures out what constructors to call and in what order.

Hive is built on top of uber/dig and is similar to uber/fx. The main difference to uber/fx is opinionated way to provide configuration and command-line inspection tooling (go run ./example hive). Hive was built for the needs of the Cilium project to improve modularity of the Cilium codebase.

To get started, see the documentation and explore the example.

cilium/hive

Hive dependency injection

Go

27

107 commits

updated Oct 6, 2026

See the code

README

🐝 Hive GoDoc

Hive is a dependency injection framework for Go. To build an application in Hive you tell it your object constructors and then ask it to invoke functions that make use of those constructors. Hive figures out what constructors to call and in what order.

Hive is built on top of uber/dig and is similar to uber/fx. The main difference to uber/fx is opinionated way to provide configuration and command-line inspection tooling (go run ./example hive). Hive was built for the needs of the Cilium project to improve modularity of the Cilium codebase.

To get started, see the documentation and explore the example.

Project health

Latest release

v1.0.6 · Sep 22, 2026

Releases this year

8

Significant stargazers

Federico Di Pierro

122 followers · starred Apr 2026

Alexandre Perrin

97 followers · starred Jun 2025

Robin Hahling

179 followers · starred Oct 2024

Matthew Penner

178 followers · starred Aug 2024