movies

package
v0.0.0-...-41a8fdc Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create

func Create(db *gorm.DB, w http.ResponseWriter, r *http.Request)

func DBMigrate

func DBMigrate(db *gorm.DB) *gorm.DB

func GetAll

func GetAll(db *gorm.DB, w http.ResponseWriter, r *http.Request)

Types

type Movie

type Movie struct {
	gorm.Model
	Title string `gorm:"unique" json:"title"`
}

Jump to

Keyboard shortcuts

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