1
0
mirror of https://github.com/dstotijn/go-notion.git synced 2025-12-23 23:51:17 +02:00

Add tests for "create page" endpoint

This commit is contained in:
David Stotijn
2021-05-19 22:21:53 +02:00
parent 063bb045e4
commit 55aa9db5c7
3 changed files with 285 additions and 4 deletions

View File

@@ -3,7 +3,7 @@ package notion
import "time"
type RichText struct {
Type RichTextType `json:"type"`
Type RichTextType `json:"type,omitempty"`
Annotations *Annotations `json:"annotations,omitempty"`
PlainText string `json:"plain_text,omitempty"`