Last active
April 12, 2020 11:41
-
-
Save preslavmihaylov/272c12a8c97fbc5281db5237a8762a0d to your computer and use it in GitHub Desktop.
This file contains 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 main | |
// imports | |
func main() { | |
fx.New( | |
configfx.Module, | |
loggerfx.Module, | |
httpfx.Module, | |
fx.Invoke(httphandler.New), | |
fx.Invoke(registerHooks), | |
).Run() | |
} | |
// registerHooks follows |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment