controller

package
v0.0.0-...-b0eab9c Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Module

func Module() fx.Option

func RegisterPost

func RegisterPost(c Post)

Types

type Post

type Post struct {
	fx.In

	PostService *service.Post
	Route       fiber.Router `name:"api-v1"`
}

func (*Post) GetPosts

func (c *Post) GetPosts(ctx *fiber.Ctx) error

Jump to

Keyboard shortcuts

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