- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestEmbeddedPointerTypeStruct (0.74 sec)
- 
				
				tests/embedded_struct_test.gofor i, post := range egPosts { t.Log(i, post.Author) if want := expectAuthors[i]; post.Author.Name != want { t.Errorf("expected author %s got %s", want, post.Author.Name) } } } func TestEmbeddedPointerTypeStruct(t *testing.T) { type BasePost struct { Id int64 Title string URL string } type Author struct { ID string Name string Email stringRegistered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Wed May 08 04:07:58 UTC 2024 - 7.3K bytes - Viewed (0)