Skip to content

Commit

Permalink
release version 0.0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
dobyte committed Nov 23, 2022
1 parent b7f8d9a commit 5cda3a6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions example/dao/user/internal/user.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import (
"errors"
"example/dao/counter"
"example/model/user"
"go.mongodb.org/mongo-driver/bson"
"go.mongodb.org/mongo-driver/bson/primitive"
"go.mongodb.org/mongo-driver/mongo"
"go.mongodb.org/mongo-driver/mongo/options"
Expand Down
2 changes: 2 additions & 0 deletions parser.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ const (
pkg4 = "go.mongodb.org/mongo-driver/mongo"
pkg5 = "go.mongodb.org/mongo-driver/mongo/options"
pkg6 = "errors"
pkg7 = "go.mongodb.org/mongo-driver/bson"
)

type field struct {
Expand Down Expand Up @@ -188,6 +189,7 @@ func (p *parser) packages() (str string) {
p.imports[pkg4] = struct{}{}
p.imports[pkg5] = struct{}{}
p.imports[pkg6] = struct{}{}
p.imports[pkg7] = struct{}{}
p.imports[p.modelPackagePath()] = struct{}{}

packages := make([]string, 0, len(p.imports))
Expand Down

0 comments on commit 5cda3a6

Please sign in to comment.