Created
February 26, 2020 13:10
-
-
Save bastianccm/db57f41d8a301b7fb95af31f2796b46a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package polls | |
// ... | |
func (*Module) Configure(injector *dingo.Injector) { | |
// ... | |
injector.BindMulti(new(db.Model)).To(Question{}) | |
injector.BindMulti(new(db.Model)).To(Choice{}) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment