Skip to content

Commit

Permalink
fix Readme.md import path
Browse files Browse the repository at this point in the history
  • Loading branch information
bastianccm committed Oct 29, 2018
1 parent 5f93fbc commit b9af1d5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

Dependency injection for go


## Hello Dingo

Dingo works very very similiar to [Guice](github.com/google/guice/wiki/GettingStarted)
Expand Down Expand Up @@ -179,6 +178,9 @@ In your modul you can provide default configuraton values by implementing the Me
Example:
```go
package example

type Module struct{}

// DefaultConfig for this module
func (m *Module) DefaultConfig() config.Map {
Expand Down Expand Up @@ -460,15 +462,13 @@ func (f *FunctionInterceptor) Name() string {
}
```
## Initializing Dingo
At the topmost level the injector is created and used in the following way:
```go
package main

import "go.aoe.com/flamingo/framework/dingo"
import "flamingo.me/dingo"

func main() {
var injector = dingo.NewInjector()
Expand Down

0 comments on commit b9af1d5

Please sign in to comment.