utils

package
v0.0.0-...-f21933c Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2022 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BubbleSort

func BubbleSort(elements []int)

func RespondContentType

func RespondContentType(c *gin.Context, status int, body interface{})

func RespondWithError

func RespondWithError(c *gin.Context, err *MsMvcError)

func Sort

func Sort(els []int)

Types

type MsMvcError

type MsMvcError struct {
	Message    string `json:"message"`
	StatusCode int    `json:"status"`
	Code       string `json:"code"`
}

Jump to

Keyboard shortcuts

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