Multi struct test case
Go Tests / test (push) Successful in 1m3s

This commit is contained in:
2026-06-06 10:34:47 +02:00
parent 90d7bf7226
commit 30e148f0e3
3 changed files with 32 additions and 2 deletions
+7
View File
@@ -56,6 +56,13 @@ type TestWithTime struct {
TimeField int64 `sql:"nn"`
}
type TestWithJsonStructTag struct {
ID int `json:"id" sql:"pk"`
Int64Field int64 `json:"int64Field" sql:"nn"`
IntField int `json:"intField" sql:"nn"`
StringField string `json:"stringField" sql:"nn"`
}
func TestMain(m *testing.M) {
log.SetupLogs("Info")