project

package
v0.0.0-...-3684e02 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddLikeProject

func AddLikeProject(c *fiber.Ctx)

func DeleteProject

func DeleteProject(c *fiber.Ctx)

func GetProject

func GetProject(c *fiber.Ctx)

func GetProjects

func GetProjects(c *fiber.Ctx)

func NewProject

func NewProject(c *fiber.Ctx)

func RemoveLikeProject

func RemoveLikeProject(c *fiber.Ctx)

Types

type Project

type Project struct {
	gorm.Model
	Title       string `json:"title" binding:"required" gorm:"type:varchar(100);"`
	Description string `json:"description" gorm:"type:varchar(1000);"`
	Link        string `json:"link" binding:"required" gorm:"type:varchar(100);"`
}

Jump to

Keyboard shortcuts

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