handlers

package
v0.0.0-...-667be8b Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateFeed

func CreateFeed(c *gin.Context)

func GetFeedById

func GetFeedById(c *gin.Context)

func GetFeeds

func GetFeeds(c *gin.Context)

Types

type FunkyFeed

type FunkyFeed struct {
	Nickname  string   `json:"nickname" binding:"required"`
	Interests []string `json:"interests" binding:"required"`
	About     string   `json:"about_you" binding:"required"`
}

type FunkyFeeds

type FunkyFeeds struct {
	Id        string   `json:"id"`
	About     string   `json:"about_you"`
	Interests []string `json:"interests"`
	Nickname  string   `json:"nickname"`
	CreatedAt string   `json:"created_at"`
}

Jump to

Keyboard shortcuts

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