diff --git a/README.md b/README.md index d1fe60e..465908a 100644 --- a/README.md +++ b/README.md @@ -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{})) @@ -30,4 +32,4 @@ func main(){ // ... } -``` \ No newline at end of file +```