likingService

package
v0.0.0-...-8cf13af Latest Latest
Warning

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

Go to latest
Published: May 14, 2015 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateLiking

func CreateLiking(c *gin.Context, item interface{}) (int, error)

CreateLiking create a liking.

func DeleteLiking

func DeleteLiking(c *gin.Context, item interface{}) (int, error)

DeleteLiking deletes liking.

Types

type CreateLikingForm

type CreateLikingForm struct {
	UserId   int64 `form:"userId" binding:"required"`
	ParentId int64 `form:"parentId" binding:"required"`
}

CreateLikingForm is used when creating a liking.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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