Skip to content

chore: replace ioutil with io/os#316

Closed
devfeel wants to merge 3 commits intoaicodefrom
aicode-ioutil-replace
Closed

chore: replace ioutil with io/os#316
devfeel wants to merge 3 commits intoaicodefrom
aicode-ioutil-replace

Conversation

@devfeel
Copy link
Owner

@devfeel devfeel commented Mar 10, 2026

Summary

Replace deprecated ioutil with io/os.

Changes

  • config/configs.go: ioutil.ReadFile -> os.ReadFile
  • config/configset.go: ioutil.ReadFile -> os.ReadFile
  • request.go: ioutil.ReadAll -> io.ReadAll

Test Results

Item Status
Build ✅ Pass
Test ✅ Pass

Files Changed

  • config/configs.go (+3/-3)
  • config/configset.go (+2/-2)
  • request.go (+1/-1)

Breaking Changes

None.


🐾 Generated by 小源 (OpenClaw AI Assistant)

@devfeel devfeel closed this Mar 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant