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

Deprecated package #361

Open
Ibrahim-Halil-Kuray opened this issue Sep 18, 2023 · 1 comment
Open

Deprecated package #361

Ibrahim-Halil-Kuray opened this issue Sep 18, 2023 · 1 comment
Assignees
Labels
go Pull requests that update Go code

Comments

@Ibrahim-Halil-Kuray
Copy link
Contributor

Subject of the issue

io/ioutil package is deprecated and used in the following list of files.

I am writing all the files in detail because it may give an idea about some other problems.

deprecated

  • externalnode>external_node.go
  • main>app>document.go
  • main>app>external_node.go
  • main>handlers>blockchain>airdrop.go
  • main>handlers>formbilder>test_handlers.go
  • main>handlers>helpers>helpers.go
  • main>handlers>i18n>handlers.go
  • main>handlers>template_ide.go
  • main>priceservice>service.go
  • main>www>embed_test.go
  • service>form.go
  • storage>database>files.go
  • storage>json.go
@loleg
Copy link
Contributor

loleg commented Nov 16, 2023

Official docs suggest:

Deprecated: As of Go 1.16, the same functionality is now provided by package io or package os, and those implementations should be preferred in new code. See the specific function documentation for details.

We should look at this in #216 as many of those files are web components.

@loleg loleg added the go Pull requests that update Go code label Nov 16, 2023
@loleg loleg self-assigned this Nov 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
go Pull requests that update Go code
Projects
Development

No branches or pull requests

2 participants