File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ type Content struct {
2929Ancestors []Ancestor `json:"ancestors,omitempty"`
3030Body Body `json:"body"`
3131Version * Version `json:"version,omitempty"`
32- Space Space `json:"space"`
32+ Space * Space `json:"space"`
3333History * History `json:"history,omitempty"`
3434Links * Links `json:"_links,omitempty"`
3535Metadata * Metadata `json:"metadata"`
Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ func main() {
5353Version : & goconfluence.Version {
5454Number : 1 ,
5555},
56- Space : goconfluence.Space {
56+ Space : & goconfluence.Space {
5757Key : "SomeSpaceKey" , // Space
5858},
5959}
@@ -71,7 +71,7 @@ func main() {
7171Type : "page" ,
7272Title : "updated-title" ,
7373Ancestors : []goconfluence.Ancestor {
74- goconfluence. Ancestor {
74+ {
7575ID : "2345678" ,
7676},
7777},
@@ -84,7 +84,7 @@ func main() {
8484Version : & goconfluence.Version {
8585Number : 2 ,
8686},
87- Space : goconfluence.Space {
87+ Space : & goconfluence.Space {
8888Key : "SomeSpaceKey" ,
8989},
9090}
You can’t perform that action at this time.
0 commit comments