blogger

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Blog

type Blog struct {
	// contains filtered or unexported fields
}

func New

func New(ctx context.Context, url string, tokenSource oauth2.TokenSource) (*Blog, error)

func (Blog) CreatePost

func (b Blog) CreatePost() (*mdlog.Post, error)

func (*Blog) GetPosts

func (b *Blog) GetPosts() ([]*mdlog.Post, error)

func (*Blog) Update

func (b *Blog) Update(post *mdlog.Post) error

Jump to

Keyboard shortcuts

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