Embedding etcd in a Go Application
Use etcd
embed go package to run an etcd server within your applicationThe etcd embed go package provides a simple way to embed an etcd server directly into your application.
For more details, see the embed package documentation .