Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderMatveev authored Sep 27, 2023
1 parent faa924b commit 9810121
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,11 @@ import (
)

type Entity struct {
Id int `db:"id"`
Name string `db:"name"`
CreatedAt time.Time `db:"created_at"`
Id int `db:"id"`
Name string `db:"name"`
DateTimeField time.Time `db:"created_at"`
FieldNotIdDb int
NullableField *int
}

var structColumns = dbmap.Columns(reflect.TypeOf(Entity{}))
Expand All @@ -30,4 +32,4 @@ func main(){
// ...
}

```
```

0 comments on commit 9810121

Please sign in to comment.