It looks like not all configuration values are working. I reported a similar issue in https://github.com/stephenafamo/bob/issues/201 Others like output and uuid_pkg are working for me.
I am setting the following values and they don't have any impact on the generated code. Is there something wrong with my approach?
tags:
- json
struct_tag_casing: camel
the generated code is:
type User struct {
ID uuid.UUID `db:"id,pk" `
CreatedAt time.Time `db:"created_at" `
UpdatedAt time.Time `db:"updated_at" `
// ....
}
Expected
json tags as part of the generated model
Note: The current tags end with a whitespace, even if not tags configuration is set
Version
$ bobgen-psql --version
bobgen-psql version v0.25.0
It looks like not all configuration values are working. I reported a similar issue in https://github.com/stephenafamo/bob/issues/201 Others like
output
anduuid_pkg
are working for me.I am setting the following values and they don't have any impact on the generated code. Is there something wrong with my approach?
the generated code is:
Expected json tags as part of the generated model
Note: The current tags end with a whitespace, even if not tags configuration is set
Version $ bobgen-psql --version bobgen-psql version v0.25.0