I tried the example in README.md and got a build error, so I fixed the part where the error occurred.
The following process an error occurred:
$ go version
go version go1.18.1 linux/amd64
$ go build
# example
./main.go:45:64: fs.DirEntry undefined (type *"github.com/hirochachacha/go-smb2".Share has no field or method DirEntry)
Hi, thanks for this useful implementation.
I tried the example in README.md and got a build error, so I fixed the part where the error occurred.
The following process an error occurred:
References of implementation:
https://github.com/hirochachacha/go-smb2/blob/82da9adcf15307deb147fbe4a0732d0e0b657e2c/smb2_fs_test.go#L60