[stable since 2013] a lib for loading XML Schema Definition (XSD) files ➜ plus, a tool `makepkg` to code-generate from any *.xsd your Go package with all needed `struct`s to readily `xml.Unmarshal()` documents into, based on the XSD's schema definitions. NOT REALLY MAINTAINED FOR YEARS NOW: try the forks if running into issues.
The output from the terminal if go install go install github.com/metaleap/go-xsd/xsd-makepkg@latest
go/pkg/mod/github.com/metaleap/go-util@v0.0.0-20180330192724-a09253046f73/fs/watcher-default.go:32:31: undefined: fsnotify.FileEvent
go/pkg/mod/github.com/metaleap/go-util@v0.0.0-20180330192724-a09253046f73/fs/watcher-default.go:64:44: undefined: fsnotify.FileEvent
go/pkg/mod/github.com/metaleap/go-util@v0.0.0-20180330192724-a09253046f73/fs/watcher-default.go:72:53: undefined: fsnotify.FileEvent
go/pkg/mod/github.com/metaleap/go-util@v0.0.0-20180330192724-a09253046f73/fs/watcher-default.go:79:19: me.Event undefined (type Watcher has no field or method Event)
go/pkg/mod/github.com/metaleap/go-util@v0.0.0-20180330192724-a09253046f73/fs/watcher-default.go:97:19: me.Error undefined (type Watcher has no field or method Error)
go/pkg/mod/github.com/metaleap/go-util@v0.0.0-20180330192724-a09253046f73/fs/watcher-default.go:119:16: me.Watch undefined (type *Watcher has no field or method Watch)
The output from the terminal if go install go install github.com/metaleap/go-xsd/xsd-makepkg@latest
go/pkg/mod/github.com/metaleap/go-util@v0.0.0-20180330192724-a09253046f73/fs/watcher-default.go:32:31: undefined: fsnotify.FileEvent go/pkg/mod/github.com/metaleap/go-util@v0.0.0-20180330192724-a09253046f73/fs/watcher-default.go:64:44: undefined: fsnotify.FileEvent go/pkg/mod/github.com/metaleap/go-util@v0.0.0-20180330192724-a09253046f73/fs/watcher-default.go:72:53: undefined: fsnotify.FileEvent go/pkg/mod/github.com/metaleap/go-util@v0.0.0-20180330192724-a09253046f73/fs/watcher-default.go:79:19: me.Event undefined (type Watcher has no field or method Event) go/pkg/mod/github.com/metaleap/go-util@v0.0.0-20180330192724-a09253046f73/fs/watcher-default.go:97:19: me.Error undefined (type Watcher has no field or method Error) go/pkg/mod/github.com/metaleap/go-util@v0.0.0-20180330192724-a09253046f73/fs/watcher-default.go:119:16: me.Watch undefined (type *Watcher has no field or method Watch)