Skip to content

fx.go

fx.go provides an ability system and algebraic effect handlers for Go: declare effects, interpret them with handlers, and compose effectful code with explicit, typed capabilities rather than ad-hoc side effects.

fx.go is the Go member of a cross-language algebraic-effects family alongside nfx (Nix) and fx-rs (Rust). fx-rs is directly modeled after it.

Source Code Go API Support this project