neugram / ng

scripting language integrated with Go
https://neugram.io
BSD 2-Clause "Simplified" License
916 stars 43 forks source link

Go module build fails #245

Open fhs opened 5 years ago

fhs commented 5 years ago
$ GO111MODULE=on go get neugram.io/ng
go: finding neugram.io/ng latest
go: finding github.com/sideshowdave7/gomq latest
# neugram.io/ng/ngcore
go/pkg/mod/neugram.io/ng@v0.0.0-20180309130942-d472ff93d872/ngcore/ngcore.go:308:28: cannot use s.Completer (type func(string, string, int) (string, []string, string)) as type liner.WordCompleter in argument to s.Liner.SetWordCompleter
go/pkg/mod/neugram.io/ng@v0.0.0-20180309130942-d472ff93d872/ngcore/ngcore.go:346:10: s.Liner.SetMode undefined (type *liner.State has no field or method SetMode)
go/pkg/mod/neugram.io/ng@v0.0.0-20180309130942-d472ff93d872/ngcore/ngcore.go:364:24: too many arguments in call to s.Liner.AppendHistory
    have (string, string)
    want (string)
go/pkg/mod/neugram.io/ng@v0.0.0-20180309130942-d472ff93d872/ngcore/ngcore.go:424:7: liner.SetMode undefined (type *liner.State has no field or method SetMode)

It seems ng depends on local changes in vendor/github.com/peterh/liner (e.g. b74a1a39e42c6d992b06f8bad4fddc95158b1a5c).