models

package
v0.0.0-...-164d4d6 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetUserID

func GetUserID(_ echo.Context) int64

func GetUserIDFromUser

func GetUserIDFromUser(u *sqlc.User) func(echo.Context) int64

Types

type UserHandler

type UserHandler struct {
	Queries   *sqlc.Queries
	GetUserID func(c echo.Context) int64
}

func (*UserHandler) Create

func (h *UserHandler) Create(c echo.Context) error

func (*UserHandler) List

func (h *UserHandler) List(c echo.Context) error

Jump to

Keyboard shortcuts

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