Skip to content

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

@zzzskd

Description

@zzzskd

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions