github.com/ravendb/ravendb-go-client@v0.0.0-20240229102137-4474ee7aa0fa/tests/post_test.go (about) 1 package tests 2 3 import "time" 4 5 type Post struct { 6 ID string 7 Title string `json:"title,omitempty"` 8 Desc string `json:"desc,omitempty"` 9 Comments []*Post `json:"comments"` 10 AttachmentIds string `json:"attachmentIds,omitempty"` 11 CreatedAt time.Time `json:"createdAt,omitempty"` 12 }