Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
agiledragon committed Jun 18, 2018
1 parent cb4ec30 commit d92988d
Show file tree
Hide file tree
Showing 13 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package service

import (
"github.com/agiledragon/ddd-sample-in-golang/domain/service"
"github.com/agiledragon/ddd-sample-in-golang/cargo/domain/service"
)

func CreateCargo(cargoId string, afterDays uint) {
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion domain/model/cargo.go → cargo/domain/model/cargo.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package model

import (
"github.com/agiledragon/ddd-sample-in-golang/domain/model/base"
"github.com/agiledragon/ddd-sample-in-golang/cargo/domain/model/base"
)

type Cargo struct {
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package model

import (
"github.com/agiledragon/ddd-sample-in-golang/domain/model/base"
"github.com/agiledragon/ddd-sample-in-golang/cargo/domain/model/base"
)

type Delivery struct {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package service

import (
"github.com/agiledragon/ddd-sample-in-golang/domain/model"
"github.com/agiledragon/ddd-sample-in-golang/cargo/domain/model"
"sync"
)

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package infra

import "github.com/agiledragon/ddd-sample-in-golang/domain/model"
import "github.com/agiledragon/ddd-sample-in-golang/cargo/domain/model"

type CargoProviderImpl struct {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package infra

import "github.com/agiledragon/ddd-sample-in-golang/domain/model"
import "github.com/agiledragon/ddd-sample-in-golang/cargo/domain/model"

type CargoRepoImpl struct {

Expand Down
6 changes: 3 additions & 3 deletions ft/cargo_test.go → cargo/test/cargo_test.go
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
package ft
package test

import (
"testing"
. "github.com/smartystreets/goconvey/convey"
"github.com/agiledragon/ddd-sample-in-golang/domain/model"
"github.com/agiledragon/ddd-sample-in-golang/app/service"
"github.com/agiledragon/ddd-sample-in-golang/cargo/domain/model"
"github.com/agiledragon/ddd-sample-in-golang/cargo/app/service"
)

type SpyCargoProvider struct {
Expand Down

0 comments on commit d92988d

Please sign in to comment.