Skip to content

Commit

Permalink
Merge pull request #25 from Bajusz15/master
Browse files Browse the repository at this point in the history
removed redundant package
  • Loading branch information
katzien authored Oct 5, 2020
2 parents f2e96c6 + 305913c commit 1d1d00d
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 1d1d00d

Please sign in to comment.