Discover Packages
github.com/werbenhu/digo
examples
multipackage
database
package
Version:
v1.0.4
Opens a new window with list of versions in this module.
Published: Jun 5, 2023
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
This file is generated by digogen. Run 'digogen' to regenerate.
You can install this tool by running `go install github.com/werbenhu/digo/digogen`.
For more details, please refer to https://github.com/werbenhu/digo .
@provider({"id": "database.mysql.url"})
type Database interface {
Print()
}
type Mysql struct {
Url string
}
@provider({"id": "database.mysql"})
@inject({"param":"url", "id":"database.mysql.url"})
Source Files
¶
Click to show internal directories.
Click to hide internal directories.