Glue things together

This commit is contained in:
nemunaire 2025-10-15 16:16:29 +07:00
commit 395ea2122e
9 changed files with 972 additions and 28 deletions

View file

@ -21,6 +21,10 @@
package api
func stringPtr(s string) *string {
return &s
}
// PtrTo returns a pointer to the provided value
func PtrTo[T any](v T) *T {
return &v