mirror of
https://github.com/miniflux/v2.git
synced 2024-10-05 08:36:52 +02:00
168a870c02
For reference: https://go.dev/doc/go1.4#internalpackages
20 lines
480 B
Go
20 lines
480 B
Go
// SPDX-FileCopyrightText: Copyright The Miniflux Authors. All rights reserved.
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
package notion
|
|
|
|
type Data struct {
|
|
Children []Block `json:"children"`
|
|
}
|
|
|
|
type Block struct {
|
|
Object string `json:"object"`
|
|
Type string `json:"type"`
|
|
Bookmark Bookmark `json:"bookmark"`
|
|
}
|
|
|
|
type Bookmark struct {
|
|
Caption []interface{} `json:"caption"` // Assuming the "caption" field can have different types
|
|
URL string `json:"url"`
|
|
}
|