With the following schema:
CREATE TABLE public.campus (
id integer NOT NULL
);
Running gqlgen produces
type Campu struct {
ID int32 `json:"id"`
}
I would prefer to have the struct keep the "s" at the end of campus.
I also tried to use the rename configuration option in my sqlc.yaml file but the "s" is still stripped.
Is there a supported way to force the struct name to be "Campus"?
With the following schema:
Running
gqlgenproducesI would prefer to have the struct keep the "s" at the end of campus.
I also tried to use the
renameconfiguration option in my sqlc.yaml file but the "s" is still stripped.Is there a supported way to force the struct name to be "Campus"?