Update README.md (#263)

fixed naming mistake of `camel case` to `snake case`
This commit is contained in:
alireza khojastehfar
2024-02-20 17:29:42 +03:30
committed by GitHub
parent dec046bd85
commit 12811b5554

View File

@@ -52,7 +52,7 @@ var personMetadata = table.Metadata{
var personTable = table.New(personMetadata) var personTable = table.New(personMetadata)
// Person represents a row in person table. // Person represents a row in person table.
// Field names are converted to camel case by default, no need to add special tags. // Field names are converted to snake case by default, no need to add special tags.
// A field will not be persisted by adding the `db:"-"` tag or making it unexported. // A field will not be persisted by adding the `db:"-"` tag or making it unexported.
type Person struct { type Person struct {
FirstName string FirstName string