package collections
import "github.com/datastax/astra-db-go/v2/integration/tests/documents/collections"
Index
Types
type Employee
type Employee struct { ID any `json:"_id,omitempty"` Key string `json:"key,omitempty"` Username string `json:"username,omitempty"` Human *bool `json:"human,omitempty"` Age *int `json:"age,omitempty"` Password *string `json:"password"` Address *struct { Number *int `json:"number,omitempty"` Street *string `json:"street"` Suburb *string `json:"suburb"` City *string `json:"city"` IsOffice *bool `json:"is_office,omitempty"` Country *string `json:"country,omitempty"` } `json:"address,omitempty"` }
Employee represents a test document with nested fields