Skip to content
This repository was archived by the owner on May 14, 2024. It is now read-only.
This repository was archived by the owner on May 14, 2024. It is now read-only.

用VPS,debian 11 x64系统时出现错误,无法启动main.go #1

@GeorgeLeungHK

Description

@GeorgeLeungHK

使用root账号运行main.go,但出现错误无法启动。

root@vultr:~/test/wechatbot# go run main.go
go: downloading github.com/eatmoreapple/openwechat v1.4.1
go: downloading github.com/robfig/cron/v3 v3.0.0
go: downloading golang.org/x/text v0.8.0

github.com/eatmoreapple/openwechat

/root/go/pkg/mod/github.com/eatmoreapple/openwechat@v1.4.1/caller.go:514:14: undefined: os.CreateTemp
note: module requires Go 1.18

wechatbot/config

config/config.go:34:12: undefined: os.ReadFile
note: module requires Go 1.20

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions