This website requires JavaScript.
Explore
Help
Sign In
status-im
/
status-go
mirror of
https://github.com/status-im/status-go.git
Watch
2
Star
0
Fork
You've already forked status-go
0
Code
Issues
Projects
Releases
Wiki
Activity
1d173734a6
status-go
/
services
/
wallet
/
common
/
ptrutils.go
8 lines
87 B
Go
Raw
Blame
History
package
common
func
NewAndSet
[
T
any
]
(
v
T
)
*
T
{
res
:=
new
(
T
)
*
res
=
v
return
res
}
Reference in New Issue
View Git Blame
Copy Permalink