models

package
v0.0.0-...-3d2afa5 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Post

type Post struct {
	ID     string `json:"id"`
	Title  string `json:"title"`
	Post   string `json:"post"`
	Author string `json:"author"`
}

type PostAll

type PostAll struct {
	Count int    `json:"count"`
	Posts []Post `json:"posts"`
}

type PostFilter

type PostFilter struct {
	Offset int    `json:"offset"`
	Limit  int    `json:"limit"`
	Author string `json:"author"`
}

type PostMutationModel

type PostMutationModel struct {
	Title  string `json:"title"`
	Post   string `json:"post"`
	Author string `json:"author"`
}

Jump to

Keyboard shortcuts

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