# 将 etcd 集成到 Go 应用中

> 使用 etcd `embed` Go 包在应用程序中运行 etcd 服务器

---

LLMS 索引： [llms.txt](/zh/llms.txt)

---

etcd `embed` go 包提供了一种简便方式，可将 etcd 服务器直接嵌入应用程序。

有关详细信息，请参见 [embed 包文档](https://pkg.go.dev/go.etcd.io/etcd/server/v3/embed)。
