gen/template: allow overriding of client struct and initialization (#2503)

This commit is contained in:
MasseElch
2022-04-28 09:07:44 +02:00
committed by GitHub
parent 879bb8a905
commit 4e434b2b73
4 changed files with 79 additions and 20 deletions

View File

@@ -91,4 +91,6 @@ func TestCustomTemplate(t *testing.T) {
Select().
IntX(ctx)
require.Equal(t, sum, got)
require.Equal(t, 20, client.HiddenData())
}