Skip to content

Commit

Permalink
Merge pull request #262 from /issues/261/main
Browse files Browse the repository at this point in the history
fix nest struct unique bug
  • Loading branch information
54m authored Sep 4, 2024
2 parents c72f2cd + f6062d8 commit e493a62
Show file tree
Hide file tree
Showing 9 changed files with 526 additions and 179 deletions.
168 changes: 166 additions & 2 deletions examples/repository/task_gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

128 changes: 72 additions & 56 deletions examples/repository/task_label_gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion examples/task.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ import "time"
//go:generate ../bin/volcago -o repository Task

type Inner struct {
A string `firestore:"a" indexer:"e"`
A string `firestore:"a" indexer:"e"`
Code string `firestore:"code" indexer:"e" unique:""`
Email string `indexer:"e" unique:""`
}

type Embedded struct {
Expand Down
Loading

0 comments on commit e493a62

Please sign in to comment.