github.com/altipla-consulting/ravendb-go-client@v0.1.3/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 }