Replace all os.ReadFile/os.WriteFile/os.MkdirAll in production code with coreio.Local equivalents (Read, Write, EnsureDir) from go-io. Replace all fmt.Errorf and errors.New with coreerr.E() from go-log, adding structured operation context to all error returns. Promote go-log from indirect to direct dependency in go.mod. Co-Authored-By: Virgil <virgil@lethean.io>
396 B
396 B
TASK: Replace all os.ReadFile/os.WriteFile/os.MkdirAll with go-io coreio.Local equivalents. Replace fmt.Errorf/errors.New with coreerr.E() from go-log. Run tests after.
Repo: core/go-container Status: ready
Objective
Replace all os.ReadFile/os.WriteFile/os.MkdirAll with go-io coreio.Local equivalents. Replace fmt.Errorf/errors.New with coreerr.E() from go-log. Run tests after.