When cloned with go v1.10, the library throw some errors :
github.com/kballard/go-osx-plist/convert.go:20: cannot convert nil to type cfTypeRef
github.com/kballard/go-osx-plist/convert.go:27: cannot use nil as type cfTypeRef in return argument
github.com/kballard/go-osx-plist/convert.go:44: cannot use nil as type cfTypeRef in return argument
github.com/kballard/go-osx-plist/convert.go:49: cannot convert nil to type _Ctype_CFStringRef
github.com/kballard/go-osx-plist/convert.go:50: cannot use nil as type cfTypeRef in return argument
github.com/kballard/go-osx-plist/convert.go:70: cannot use nil as type cfTypeRef in return argument
github.com/kballard/go-osx-plist/convert.go:74: cannot use nil as type cfTypeRef in return argument
github.com/kballard/go-osx-plist/convert.go:358: cannot use nil as type _Ctype_CFArrayRef in return argument
github.com/kballard/go-osx-plist/convert.go:365: cannot convert &plists[0] (type *cfTypeRef) to type *unsafe.Pointer
github.com/kballard/go-osx-plist/convert.go:394: cannot convert &cfTypes[0] (type *cfTypeRef) to type *unsafe.Pointer
github.com/kballard/go-osx-plist/convert.go:394: too many errors
FIX
The solution was to downgrade go to the v1.8.3 (just download and install said version)
As you can probably tell from the commit history on this project, I haven't used Go in years. If anyone wants to submit a PR for this I'll consider merging it.
When cloned with go v1.10, the library throw some errors :
FIX The solution was to downgrade go to the v1.8.3 (just download and install said version)