Initial support for in-house apps on iOS/iPadOS (#34802)
This commit is contained in:
@@ -71,3 +71,8 @@ func Int64(x int64) *int64 {
|
||||
func Duration(x time.Duration) *time.Duration {
|
||||
return &x
|
||||
}
|
||||
|
||||
// T is the generic version to get the pointer of any type.
|
||||
func T[T any](x T) *T {
|
||||
return &x
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user