mirror of
https://github.com/Xevion/HATray.git
synced 2025-12-06 03:15:16 -06:00
feat: tray icon, connect to home assistant, misc functions
This commit is contained in:
5
internal/misc.go
Normal file
5
internal/misc.go
Normal file
@@ -0,0 +1,5 @@
|
||||
package internal
|
||||
|
||||
func Ptr[T any](value T) *T {
|
||||
return &value
|
||||
}
|
||||
Reference in New Issue
Block a user