generic

package
v0.0.0-...-40b14aa Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertEmptyToNull

func ConvertEmptyToNull[T comparable](v T) any

ConvertEmptyToNull convert empty to null แปลงค่าว่างเป็น null เพื่อใช้ยิง db

func ConvertInterfaceToStruct

func ConvertInterfaceToStruct(data, value interface{}) error

ConvertInterfaceToStruct convert interface to struct

func Equal

func Equal[T comparable](a, b T) bool

Equal equal

func IsEmpty

func IsEmpty(i interface{}) bool

IsEmpty is empty

func RemoveDuplicate

func RemoveDuplicate[T comparable](sliceList []T) []T

RemoveDuplicate

Types

This section is empty.

Jump to

Keyboard shortcuts

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