Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var InitialData = []User{ { ID: 1, Name: "Alice", Age: 20, GroupID: sql.Null[int]{Valid: true, V: 1}, CreatedAt: time.Now(), }, { ID: 2, Name: "Bob", Age: 21, GroupID: sql.Null[int]{Valid: true, V: 1}, CreatedAt: time.Now(), }, { ID: 3, Name: "Charlie", Age: 22, GroupID: sql.Null[int]{}, CreatedAt: time.Now(), }, { ID: 4, Name: "David", Age: 23, GroupID: sql.Null[int]{Valid: true, V: 2}, CreatedAt: time.Now(), }, }
Functions ¶
func AssertUser ¶
func AssertUsers ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.