--- title: Complex Nested Structure test_name: TestComplexNestedStructure file_name: shutter_test.go version: 0.1.0 --- shutter_test.Post{ ID: 100, Title: "Introduction to Go Snapshot Testing", Content: "This is a comprehensive guide to snapshot testing in Go...", Author: shutter_test.User{ ID: 1, Username: "john_doe", Email: "john@example.com", Active: true, CreatedAt: time.Time{ wall: 0x0, ext: 63809375400, loc: (*time.Location)(nil), }, Roles: []string{"admin", "moderator", "user"}, Metadata: map[string]interface{}{ "language": "en", "notifications": true, "preferences": map[string]interface{}{ "email_frequency": "weekly", "notifications": true, }, "theme": "dark", }, }, Tags: []string{"go", "testing", "snapshots", "best-practices"}, Comments: []shutter_test.Comment{ { ID: 1, Author: "alice", Content: "Great post!", CreatedAt: time.Time{ wall: 0x0, ext: 63810858120, loc: (*time.Location)(nil), }, Replies: []shutter_test.Comment{ { ID: 2, Author: "bob", Content: "I agree!", CreatedAt: time.Time{ wall: 0x0, ext: 63810863100, loc: (*time.Location)(nil), }, Replies: []shutter_test.Comment{ }, }, }, }, { ID: 3, Author: "charlie", Content: "Thanks for sharing!", CreatedAt: time.Time{ wall: 0x0, ext: 63810927000, loc: (*time.Location)(nil), }, Replies: []shutter_test.Comment{ }, }, }, Likes: 42, Published: true, CreatedAt: time.Time{ wall: 0x0, ext: 63809802000, loc: (*time.Location)(nil), }, }