metaleap / go-xsd

[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.
http://www.reddit.com/r/golang/comments/12g6sl/is_there_a_tool_that_generates_go_source_code_for/
MIT License
216 stars 66 forks source link

Undefined fsnotify.Filevent in go-util #40

Open AhmadAwab98 opened 9 months ago

AhmadAwab98 commented 9 months ago

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)

metaleap commented 9 months ago

Oh yeah, like this repo's description says: "stale since 2013" =) it arose to meet a (thankfully now-vanished) need at a time before Go Modules.

Will archive the repo to make it clearer...