DongTai
DongTai copied to clipboard
[Bug]: Not support go version < 1.16beta1
Preflight Checklist
- [X] I agree to follow the Code of Conduct that this project adheres to.
- [X] I have searched the issue tracker for an issue that matches the one I want to file, without success.
- [X] I am not looking for support or already pursued the available support channels without success.
Version
1.8.2
Installation Type
Official Docker Compose
Service Name
Doc(DongTai-Doc)
Describe the details of the bug and the steps to reproduce it
- Go Agent Guide ,the guide says to support Go1.12+
- But Go agent uses
io/fs: service/auxiliarylt18.go, service/auxiliarylt18.go -
io/fsonly supports >=1.16beta1 io/fs
Env:
go version go1.12.1 linux/amd64
Steps:
- import dependencies
_ "github.com/HXSecurity/DongTai-agent-go/run/base" _ "github.com/HXSecurity/DongTai-agent-go/run/http" - run
go mod init dongtai_test
go mod tidy
go run -gcflags "all=-N -l" app.go
- get error
build command-line-arguments: cannot load io/fs: cannot find module providing package io/fs
Additional Information
No response
Logs
No response