/go-mod-bootstrap

go-mod-bootstrap

Primary LanguageGoApache License 2.0Apache-2.0

go-mod-bootstrap

Build Status Code Coverage Go Report Card GitHub Latest Dev Tag) GitHub Latest Stable Tag) GitHub License GitHub go.mod Go version GitHub Pull Requests GitHub Contributors GitHub Committers GitHub Commit Activity

This module contains the common bootstrap and dependency injection container originally implemented in the edgex-go repository and extracted here for reuse.

Installation

  • Make sure you're using at least Go 1.12 (EdgeX is currently using Go 1.16) and have modules enabled (i.e. have an initialized go.mod file).
  • Run go get github.com/edgexfoundry/go-mod-bootstrap
    • This will add go-mod-bootstrap to the go.mod file and download it into the module cache