util

package
v0.0.0-...-6677412 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ColumnValidator

func ColumnValidator(str string, arr []string) bool

func Converter

func Converter(arr []string) []uint

Converter - string to int slice

func GormRequestID

func GormRequestID(h http.Handler) http.Handler

GormRequestID returns middleware to add request_id in gorm context

func KavachChecker

func KavachChecker() error

func Parse

func Parse(page *int, perPage *int) (int, int)

Parse pagination

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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