Glue things together
This commit is contained in:
parent
e1356ebc22
commit
395ea2122e
9 changed files with 972 additions and 28 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue