Skip to content

Commit

Permalink
Update importstack.go
Browse files Browse the repository at this point in the history
  • Loading branch information
kevwan authored Nov 29, 2023
1 parent 36271e7 commit 95ad2b9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tools/goctl/pkg/parser/api/importstack/importstack.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ type ImportStack []string
func New() *ImportStack {
return &ImportStack{}
}

func (s *ImportStack) Push(p string) error {
for _, x := range *s {
if x == p {
Expand Down

0 comments on commit 95ad2b9

Please sign in to comment.