Skip to content

Commit

Permalink
removed redundant package
Browse files Browse the repository at this point in the history
  • Loading branch information
Bajusz15 committed Jun 2, 2020
1 parent f3e3f59 commit 305913c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions domain-hex/pkg/adding/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ package adding

import (
"errors"
"github.com/katzien/go-structure-examples/domain-hex-actor/pkg/adding"
"github.com/katzien/go-structure-examples/domain-hex/pkg/listing"
)

Expand Down Expand Up @@ -41,7 +40,7 @@ func (s *service) AddBeer(b ...Beer) error {
if bb.Abv == e.Abv &&
bb.Brewery == e.Brewery &&
bb.Name == e.Name {
return adding.ErrDuplicate
return ErrDuplicate
}
}
}
Expand Down

0 comments on commit 305913c

Please sign in to comment.