--- title: Structure with Interface Fields test_name: TestStructureWithInterface file_name: shutter_test.go version: 0.1.0 --- []shutter_test.Response{ { Status: "success", Message: "User retrieved", Data: shutter_test.User{ ID: 1, Username: "john", Email: "john@example.com", Active: true, CreatedAt: time.Time{ wall: 0x0, ext: 0, loc: (*time.Location)(nil), }, Roles: []string(nil), Metadata: map[string]interface{}(nil), }, Meta: map[string]interface{}{ "request_id": "req-123", "timestamp": "2023-01-20T10:30:00Z", }, }, { Status: "error", Message: "User not found", Data: nil, Meta: map[string]interface{}{ "error_code": 404, "error_type": "NOT_FOUND", }, }, { Status: "success", Message: "Posts retrieved", Data: []shutter_test.Post{ { ID: 1, Title: "First Post", Content: "", Author: shutter_test.User{ ID: 0, Username: "", Email: "", Active: false, CreatedAt: time.Time{ wall: 0x0, ext: 0, loc: (*time.Location)(nil), }, Roles: []string(nil), Metadata: map[string]interface{}(nil), }, Tags: []string(nil), Comments: []shutter_test.Comment(nil), Likes: 0, Published: true, CreatedAt: time.Time{ wall: 0x0, ext: 0, loc: (*time.Location)(nil), }, }, }, Meta: map[string]interface{}{ "page": 1, "per_page": 20, "total_count": 10, }, }, }