[PR #503] Updated the deprecated ioutil dependency #475

Open
opened 2026-02-25 22:33:36 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/FiloSottile/mkcert/pull/503
Author: @zachary-walters
Created: 2/3/2023
Status: 🔄 Open

Base: masterHead: update-deprecated-dependency-ioutil


📝 Commits (1)

  • d33c076 Updated the deprecated ioutil dependency

📊 Changes

4 files changed (+15 additions, -19 deletions)

View changed files

📝 cert.go (+10 -11)
📝 truststore_darwin.go (+3 -4)
📝 truststore_linux.go (+1 -2)
📝 truststore_windows.go (+1 -2)

📄 Description

The ioutil package has been deprecated as of Go v1.16: https://go.dev/doc/go1.16#ioutil
This commit replaces ioutil functions with their respective io/os functions.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/FiloSottile/mkcert/pull/503 **Author:** [@zachary-walters](https://github.com/zachary-walters) **Created:** 2/3/2023 **Status:** 🔄 Open **Base:** `master` ← **Head:** `update-deprecated-dependency-ioutil` --- ### 📝 Commits (1) - [`d33c076`](https://github.com/FiloSottile/mkcert/commit/d33c0761e7bbd43f33690e1527181609bcce1efe) Updated the deprecated ioutil dependency ### 📊 Changes **4 files changed** (+15 additions, -19 deletions) <details> <summary>View changed files</summary> 📝 `cert.go` (+10 -11) 📝 `truststore_darwin.go` (+3 -4) 📝 `truststore_linux.go` (+1 -2) 📝 `truststore_windows.go` (+1 -2) </details> ### 📄 Description The ioutil package has been deprecated as of Go v1.16: https://go.dev/doc/go1.16#ioutil This commit replaces ioutil functions with their respective io/os functions. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/mkcert#475
No description provided.