Skip to content

refactor: migrate to Gin server & remove deprecated ioutil calls#52

Merged
JohnVictorCrown merged 1 commit into
masterfrom
refactor/migrate-gin-remove-ioutil
Feb 14, 2026
Merged

refactor: migrate to Gin server & remove deprecated ioutil calls#52
JohnVictorCrown merged 1 commit into
masterfrom
refactor/migrate-gin-remove-ioutil

Conversation

@kilo-code-bot

@kilo-code-bot kilo-code-bot Bot commented Feb 14, 2026

Copy link
Copy Markdown
Contributor

Summary

Replace all deprecated io/ioutil calls with their modern Go standard library equivalents.

Changes

  • llm/anthropic.go: ioutil.ReadAllio.ReadAll
  • llm/gemini.go: ioutil.ReadAllio.ReadAll
  • llm/openai.go: ioutil.ReadAllio.ReadAll
  • llm/commom.go: ioutil.WriteFileos.WriteFile, ioutil.ReadFileos.ReadFile
  • Removed "io/ioutil" imports from all affected files

Notes

  • The HTTP server already uses the Gin framework (github.com/gin-gonic/gin), so no server migration was needed.
  • No system prompts or AI prompt strings were modified.
  • go mod tidy is a no-op since no dependencies were added or removed (only stdlib package references changed).

Built for stellar.foundation.us by Kilo for Slack

- Replace ioutil.ReadAll with io.ReadAll in llm/anthropic.go, llm/gemini.go, llm/openai.go
- Replace ioutil.WriteFile with os.WriteFile in llm/commom.go
- Replace ioutil.ReadFile with os.ReadFile in llm/commom.go
- Remove io/ioutil imports from all affected files
- Server already uses Gin framework (no migration needed)
@JohnVictorCrown
JohnVictorCrown merged commit d655ccd into master Feb 14, 2026
4 checks passed
@JohnVictorCrown
JohnVictorCrown deleted the refactor/migrate-gin-remove-ioutil branch February 14, 2026 01:27
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