block

package
v0.0.0-...-90e558c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 29, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BlockBase

type BlockBase struct {
	Object         string `json:"object,omitempty"`
	Id             string `json:"id,omitempty"`
	CreatedTime    string `json:"created_time,omitempty"`
	LastEditedTime string `json:"last_edited_time,omitempty"`
	HasChildren    bool   `json:"has_children,omitempty"`
	Archived       bool   `json:"archived,omitempty"`
	Type           string `json:"type,omitempty"`
}

type VideoBlock

type VideoBlock struct {
	BlockBase
	Video video.Video `json:"video,omitempty"`
}

func ValueOf

func ValueOf(video video.Video) VideoBlock

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL