I'm not familiar with Go Programming Language, any way how to solve this?
Go Version: go1.16.6
Operating System: Arch Linux and Windows 10
facebook-delete> go run deleter.go
deleter.go:7:2: no required module provides package github.com/AlecAivazis/survey; to add it:
go get github.com/AlecAivazis/survey
facebook-delete> go get github.com/AlecAivazis/survey
go get: github.com/AlecAivazis/survey@v1.8.1 updating to
github.com/AlecAivazis/survey@v1.8.8: parsing go.mod:
module declares its path as: gopkg.in/AlecAivazis/survey.v1
but was required as: github.com/AlecAivazis/survey
facebook-delete> go run deleter.go
deleter.go:7:2: no required module provides package github.com/AlecAivazis/survey; to add it:
go get github.com/AlecAivazis/survey
facebook-delete> go get github.com/AlecAivazis/survey@v1.8.1
go: downloading github.com/AlecAivazis/survey v1.8.1
go: downloading gopkg.in/AlecAivazis/survey.v1 v1.8.8
go: downloading github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51
go: downloading github.com/mgutz/ansi v0.0.0-20170206155736-9520e82c474b
go get: added github.com/AlecAivazis/survey v1.8.1
go get: added gopkg.in/AlecAivazis/survey.v1 v1.8.8
facebook-delete> go run deleter.go
# command-line-arguments
.\deleter.go:129:15: not enough arguments in call to survey.AskOne
have (*survey.Input, *string)
want (survey.Prompt, interface {}, survey.Validator, ...survey.AskOpt)
.\deleter.go:135:15: not enough arguments in call to survey.AskOne
have (*survey.Password, *string)
want (survey.Prompt, interface {}, survey.Validator, ...survey.AskOpt)
.\deleter.go:314:15: not enough arguments in call to survey.AskOne
have (*survey.MultiSelect, *[]string)
want (survey.Prompt, interface {}, survey.Validator, ...survey.AskOpt)
I'm not familiar with Go Programming Language, any way how to solve this?
Go Version: go1.16.6 Operating System: Arch Linux and Windows 10