Ecosyste.ms: Packages

An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

Top 9.5% on proxy.golang.org

proxy.golang.org : github.com/aziis98/go-sl

The sl package has two main concepts, the ServiceLocator itself is the main object that one should pass around through the application. A ServiceLocator has a list of slots that can be filled with ProvideFunc and Provide and retrieved with Use. Slots should be unique by type and they can only be created with the NewSlot function. The usual way to use this module is to make slots for Go interfaces and then pass implementations using the Provide and ProvideFunc functions. Services can be of various types:

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/aziis98/go-sl
Keywords: go-generics, go-library, golang, service-locator
License: MIT
Latest release: about 1 month ago
Namespace: github.com/aziis98
Stars: 1 on GitHub
Forks: 0 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 2 days ago