Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error step "go build" #741

Open
albrivas opened this issue Dec 14, 2020 · 1 comment
Open

Error step "go build" #741

albrivas opened this issue Dec 14, 2020 · 1 comment

Comments

@albrivas
Copy link

When I execute the "go build" command, I get the following error in the terminal:

./libretaxi.go:43:14: cannot use bot (type *"github.com/go-telegram-bot-api/telegram-bot-api".BotAPI) as type *"libretaxi/vendor/github.com/go-telegram-bot-api/telegram-bot-api".BotAPI in assignment ./libretaxi.go:58:42: cannot use u (type "github.com/go-telegram-bot-api/telegram-bot-api".UpdateConfig) as type "libretaxi/vendor/github.com/go-telegram-bot-api/telegram-bot-api".UpdateConfig in argument to context.Bot.GetUpdatesChan ./libretaxi.go:79:56: cannot use "github.com/go-telegram-bot-api/telegram-bot-api".NewCallback(cb.ID, "👌 OK") (type "github.com/go-telegram-bot-api/telegram-bot-api".CallbackConfig) as type "libretaxi/vendor/github.com/go-telegram-bot-api/telegram-bot-api".CallbackConfig in argument to context.Bot.AnswerCallbackQuery ./libretaxi.go:84:30: cannot use removeButton (type "github.com/go-telegram-bot-api/telegram-bot-api".EditMessageReplyMarkupConfig) as type "libretaxi/vendor/github.com/go-telegram-bot-api/telegram-bot-api".Chattable in argument to context.Bot.Send: "github.com/go-telegram-bot-api/telegram-bot-api".EditMessageReplyMarkupConfig does not implement "libretaxi/vendor/github.com/go-telegram-bot-api/telegram-bot-api".Chattable (missing "libretaxi/vendor/github.com/go-telegram-bot-api/telegram-bot-api".method method) have "github.com/go-telegram-bot-api/telegram-bot-api".method() string want "libretaxi/vendor/github.com/go-telegram-bot-api/telegram-bot-api".method() string ./libretaxi.go:149:5: cannot use msg (type "github.com/go-telegram-bot-api/telegram-bot-api".MessageConfig) as type "libretaxi/vendor/github.com/go-telegram-bot-api/telegram-bot-api".MessageConfig in field value

Can you help me?

Thanks

@alemat
Copy link

alemat commented Jan 3, 2024

LibreTaxi is the most mean opensource application. do not waste your time.

sudo go get -u github.com/ro31337/libretaxi
go: finding github.com/ro31337/libretaxi latest
build github.com/ro31337/libretaxi: cannot load libretaxi/callback: malformed module path "libretaxi/callback": missing dot in first path element

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants