utils

package
v0.0.0-...-f4302fc Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AverageQuery

func AverageQuery(fields []string) string

func ConvertToSlice

func ConvertToSlice(slice interface{}) (sc []string)

func ErrorMessage

func ErrorMessage(err error, c *gin.Context)

func FindAllowedValues

func FindAllowedValues(value string, values []string) bool

func FormatTimeStamp

func FormatTimeStamp(timeStamp time.Time) (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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