generated from cloudwego/.github
-
Notifications
You must be signed in to change notification settings - Fork 29
Open
Description
Describe the bug
- The generated AST contains test packages
"Packages": {
"github.com/cloudwego/localsession": {
"github.com/cloudwego/localsession [github.com/cloudwego/localsession.test]": {
...
- The writer does not write non-code files like README.md
Which causes the writer to produce incorrect results
.
├── backup
│ └── metainfo.go
├── backup [github.com
│ └── cloudwego
│ └── localsession
│ └── backup.test]
│ ├── metainfo.go
│ └── metainfo_test.go
├── [github.com
│ └── cloudwego
│ └── localsession.test]
│ ├── api_test.go
│ ├── example_test.go
│ ├── gls.go
│ ├── manager.go
│ ├── session.go
│ └── stubs.go
├── gls.go
├── go.mod
├── manager.go
├── session.go
└── stubs.go
The expected output is
.
├── api_test.go
├── backup
│ ├── metainfo.go
│ └── metainfo_test.go
├── check_branch_name.sh
├── CODE_OF_CONDUCT.md
├── CONTRIBUTING.md
├── example_test.go
├── gls.go
├── go.mod
├── go.sum
├── LICENSE-APACHE
├── manager.go
├── README.md
├── session.go
├── stubs.go
└── _typos.toml
To Reproduce
Steps to reproduce the behavior:
- Go to '...'
- Click on '....'
- Scroll down to '....'
- See error
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Version:
Please provide the version of {project_name} you are using.
Environment:
The output of go env
.
Additional context
Add any other context about the problem here.
angrychow
Metadata
Metadata
Assignees
Labels
No labels