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

CSV module includes encoding/csv twice #16557

Closed
richmahn opened this issue Jul 27, 2021 · 1 comment · Fixed by #16631
Closed

CSV module includes encoding/csv twice #16557

richmahn opened this issue Jul 27, 2021 · 1 comment · Fixed by #16631
Assignees
Labels

Comments

@richmahn
Copy link
Contributor

  • Gitea version (or commit ref): 4b6370c (main)

Description

No need to import encoding/csv twice:

"encoding/csv"

Use stdcsv here and below:

var perr *csv.ParseError

@richmahn richmahn self-assigned this Jul 27, 2021
@lunny lunny added the type/bug label Jul 27, 2021
@lunny
Copy link
Member

lunny commented Jul 27, 2021

Good catch

richmahn added a commit to richmahn/gitea that referenced this issue Aug 5, 2021
zeripath pushed a commit that referenced this issue Aug 5, 2021
Remove the unnecessary duplicate package import for `encoding/csv` in `modules/csv/csv.go`

Fix #16557
@go-gitea go-gitea locked and limited conversation to collaborators Oct 19, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants