Back to godoc.org

Package apis

v0.0.0-...-51cda7e
Latest Go to latest

The highest tagged major version is .

Published: Jan 12, 2020 | License: MIT | Module: github.com/MartinHeinz/go-project-blueprint

Index

func GetUser

func GetUser(c *gin.Context)

GetUser godoc @Summary Retrieves user based on given ID @Produce json @Param id path integer true "User ID" @Success 200 {object} models.User @Router /users/{id} [get] @Security ApiKeyAuth

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier