From fed8bccaab0e71434d7636a9b0a05548bcf6c30a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20Schw=C3=B6rer?= Date: Thu, 25 Apr 2024 11:47:16 +0200 Subject: [PATCH] v0.0.439 --- goextVersion.go | 4 ++-- langext/pointer.go | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) 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 }