api

package
v0.0.0-...-b83c5df Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DB = repository.DBConfig{
	MyDB: setupDB(),
}

Functions

func AddComment

func AddComment(c *gin.Context)

func AddPost

func AddPost(c *gin.Context)

func AuthGoogle

func AuthGoogle(c *gin.Context)

func AuthKakao

func AuthKakao(c *gin.Context)

func AuthNaver

func AuthNaver(c *gin.Context)

func DeleteComment

func DeleteComment(c *gin.Context)

func DeleteMember

func DeleteMember(c *gin.Context)

func DeletePost

func DeletePost(c *gin.Context)

func GetAllCommentsByPostId

func GetAllCommentsByPostId(c *gin.Context)

func GetAllMembers

func GetAllMembers(c *gin.Context)

func GetAllPosts

func GetAllPosts(c *gin.Context)

func GetMember

func GetMember(c *gin.Context)

func GetPost

func GetPost(c *gin.Context)

func UpdateComment

func UpdateComment(c *gin.Context)

func UpdateMember

func UpdateMember(c *gin.Context)

func UpdatePost

func UpdatePost(c *gin.Context)

Types

This section is empty.

Jump to

Keyboard shortcuts

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