diff --git a/goextVersion.go b/goextVersion.go index 85f3a08..90dd53f 100644 --- a/goextVersion.go +++ b/goextVersion.go @@ -1,5 +1,5 @@ package goext -const GoextVersion = "0.0.438" +const GoextVersion = "0.0.439" -const GoextVersionTimestamp = "2024-04-25T11:40:01+0200" +const GoextVersionTimestamp = "2024-04-25T11:47:16+0200" diff --git a/langext/pointer.go b/langext/pointer.go index a57a587..2362502 100644 --- a/langext/pointer.go +++ b/langext/pointer.go @@ -27,6 +27,10 @@ func DblPtrNil[T any]() **T { return &v } +func ArrPtr[T any](v ...T) *[]T { + return &v +} + func PtrInt32(v int32) *int32 { return &v }