Skip to content

Commit

Permalink
Move adapter files
Browse files Browse the repository at this point in the history
  • Loading branch information
josephspurrier committed Apr 24, 2017
1 parent a9b8e84 commit 84cc4c9
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 5 deletions.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion cmd/webapp/handler/login.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"net/http"

"github.com/josephspurrier/gocleanarchitecture/cmd/webapp/adapter"
"github.com/josephspurrier/gocleanarchitecture/adapter"
"github.com/josephspurrier/gocleanarchitecture/domain"
)

Expand Down
2 changes: 1 addition & 1 deletion cmd/webapp/handler/register.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"net/http"

"github.com/josephspurrier/gocleanarchitecture/cmd/webapp/adapter"
"github.com/josephspurrier/gocleanarchitecture/adapter"
"github.com/josephspurrier/gocleanarchitecture/domain"
)

Expand Down
2 changes: 1 addition & 1 deletion cmd/webapp/route.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"net/http"

"github.com/josephspurrier/gocleanarchitecture/cmd/webapp/adapter"
"github.com/josephspurrier/gocleanarchitecture/adapter"
"github.com/josephspurrier/gocleanarchitecture/cmd/webapp/handler"
"github.com/josephspurrier/gocleanarchitecture/lib/router"
)
Expand Down
3 changes: 1 addition & 2 deletions cmd/webapp/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ package main
import (
"github.com/josephspurrier/gocleanarchitecture/adapter"
"github.com/josephspurrier/gocleanarchitecture/adapter/jsonrepo"
appadapter "github.com/josephspurrier/gocleanarchitecture/cmd/webapp/adapter"
"github.com/josephspurrier/gocleanarchitecture/domain"
"github.com/josephspurrier/gocleanarchitecture/lib/jsondb"
"github.com/josephspurrier/gocleanarchitecture/lib/view"
Expand All @@ -12,7 +11,7 @@ import (
// Service represents all the services that the application uses.
type Service struct {
User domain.IUserService
View appadapter.IViewService
View adapter.IViewService
}

// RegisterServices sets up each service and returns the container for all
Expand Down

0 comments on commit 84cc4c9

Please sign in to comment.