category

package
v0.0.0-...-0ccf497 Latest Latest
Warning

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

Go to latest
Published: May 17, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Delete

func Delete(db *sql.DB) http.HandlerFunc

func HandleRequest

func HandleRequest(db *sql.DB) http.HandlerFunc

Types

type Categories

type Categories []Category

type Category

type Category struct {
	ID   int64  `json:"id"`
	Name string `json:"name"`
}

type CategoryCreationRequest

type CategoryCreationRequest struct {
	Name string `json:"name"`
}

Jump to

Keyboard shortcuts

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