1
0
mirror of https://github.com/dstotijn/go-notion.git synced 2025-06-15 00:05:04 +02:00

Fix incorrect types for Formula, Relation and Rollup page props

Fixes #11
This commit is contained in:
David Stotijn
2021-05-24 16:33:03 +02:00
parent 7e83ec7aec
commit e5130d1fde
4 changed files with 148 additions and 9 deletions

View File

@ -21,3 +21,8 @@ func BoolPtr(b bool) *bool {
func TimePtr(t time.Time) *time.Time {
return &t
}
// Float64Ptr returns the pointer of a float64 value.
func Float64Ptr(f float64) *float64 {
return &f
}