objectbox / objectbox-go

Embedded Go Database, the fast alternative to SQLite, gorm, etc.
https://objectbox.io
Apache License 2.0
1.1k stars 45 forks source link

Unique constraint doc example issue #2

Closed MMeent closed 5 years ago

MMeent commented 5 years ago

https://golang.objectbox.io/entity-annotations#unique-constraints discusses the unique constraint, but the example doesn't show usage of unique.

vaind commented 5 years ago

Thanks for pointing that out, I've fixed the tag in the code example.