article

package
v0.0.0-...-cad48ee Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Adapter

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

func New

func New(r registry.Registry) Adapter

func (Adapter) PostArticle

func (a Adapter) PostArticle(ctx context.Context, args PostArticleArgs) (*resolver.Article, error)

type PostArticleArgs

type PostArticleArgs struct {
	Input struct {
		Title   string
		Content string
	}
}

Jump to

Keyboard shortcuts

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