post

package
v0.0.0-...-a6f28e0 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2020 License: MIT Imports: 3 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 {
	gorm.Model
	Title   string
	Message string
}

func Create

func Create(p Post) (Post, error)

func Delete

func Delete(p Post) (Post, error)

func Read

func Read(p Post) (Post, error)

func Update

func Update(p Post) (Post, error)

Jump to

Keyboard shortcuts

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