forgot to add utils file

This commit is contained in:
Ryan Cavicchioni 2020-03-08 13:47:21 -05:00
parent 39a9d377d1
commit 6a5e6d0753
Signed by: ryanc
GPG Key ID: 877EEDAF9245103D

7
util.go Normal file
View File

@ -0,0 +1,7 @@
package lifx
func StringPtr(v string) *string { return &v }
func Float64Ptr(v float64) *float64 { return &v }
func Float32Ptr(v float32) *float32 { return &v }
func IntPtr(v int) *int { return &v }
func Int16Ptr(v int16) *int16 { return &v }