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

[Bug]: Not support go version < 1.16beta1 #45

Open
3 tasks done
zzzskd opened this issue Jul 26, 2022 · 0 comments
Open
3 tasks done

[Bug]: Not support go version < 1.16beta1 #45

zzzskd opened this issue Jul 26, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@zzzskd
Copy link

zzzskd commented Jul 26, 2022

Preflight Checklist

  • I agree to follow the Code of Conduct that this project adheres to.
  • I have searched the issue tracker for an issue that matches the one I want to file, without success.
  • 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

  1. Go Agent Guide ,the guide says to support Go1.12+
  2. But Go agent uses io/fs: service/auxiliarylt18.go, service/auxiliarylt18.go
  3. io/fs only supports >=1.16beta1 io/fs
    image

Env:

go version go1.12.1 linux/amd64

Steps:

  1. import dependencies
    _ "github.com/HXSecurity/DongTai-agent-go/run/base"
    _ "github.com/HXSecurity/DongTai-agent-go/run/http"
    
  2. run
go mod init dongtai_test
go mod tidy
go run -gcflags "all=-N -l" app.go
  1. get error
    build command-line-arguments: cannot load io/fs: cannot find module providing package io/fs
    

Additional Information

No response

Logs

No response

@zzzskd zzzskd added the bug Something isn't working label Jul 26, 2022
@Bidaya0 Bidaya0 transferred this issue from HXSecurity/DongTai Sep 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant