Skip to content
Snippets Groups Projects
Commit 4aa7853c authored by Johan de Klerk's avatar Johan de Klerk
Browse files

Added PointerValue

parent d5423cd8
No related branches found
No related tags found
No related merge requests found
...@@ -162,3 +162,7 @@ func MergeMaps(maps ...map[string]string) map[string]string { ...@@ -162,3 +162,7 @@ func MergeMaps(maps ...map[string]string) map[string]string {
} }
return ret return ret
} }
func PointerValue[V any](value V) *V {
return &value
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment