package builder import ( "fmt" "testing" "time" ) type AdminUser struct { updates map[string]any Id int64 `db:"id"` CreatedAt time.Time `db:"created_at"` UpdatedAt time.Time `db:"updated_at"` Status int32 `db:"status"` Username string `db:"username"` Password string `db:"password"` RoleId int64 `db:"role_id"` AliasId int32 `db:"alias_id"` } func TestBuild(t *testing.T) { fmt.Println(RawFieldNames(AdminUser{})) }