Rewrite HomeKit client

This commit is contained in:
Alexey Khit
2023-08-30 21:52:06 +03:00
parent 7d65c60711
commit 22787b979d
30 changed files with 1094 additions and 916 deletions
+4
View File
@@ -7,6 +7,10 @@ import (
"gopkg.in/yaml.v3"
)
func Unmarshal(in []byte, out interface{}) (err error) {
return yaml.Unmarshal(in, out)
}
func Encode(v any, indent int) ([]byte, error) {
b := bytes.NewBuffer(nil)
e := yaml.NewEncoder(b)