Merge pull request 'update command dump-reference' (#18) from reference into master
All checks were successful
Go Action / goaction (push) Successful in 44s

Reviewed-on: #18
This commit was merged in pull request #18.
This commit is contained in:
2026-02-17 18:30:03 +03:00
3 changed files with 4 additions and 6 deletions

View File

@@ -40,7 +40,7 @@ func RExecute(ctx context.Context, in config.Provider, out output.Output) error
return fmt.Errorf("configure:%w", err)
}
prov, err := provs.Provider(cfg.Format(ctx))
prov, err := provs.ByName(cfg.Format(ctx))
if err != nil {
return fmt.Errorf("prov:%w", errs.AlternativesError{Alt: provs.Names(), Err: err})
}

2
go.mod
View File

@@ -2,7 +2,7 @@ module gitoa.ru/go-4devs/console
go 1.24.0
require gitoa.ru/go-4devs/config v0.0.10
require gitoa.ru/go-4devs/config v0.0.11
require (
golang.org/x/mod v0.31.0 // indirect

6
go.sum
View File

@@ -1,9 +1,7 @@
github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI=
github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY=
gitoa.ru/go-4devs/config v0.0.9 h1:Z43kM6k6ocC2YIRQkELq5zWO9LO8fl1l14RyqjLC4I4=
gitoa.ru/go-4devs/config v0.0.9/go.mod h1:cLW1+4E4uM4Pw+z4RuKEKbO1Lz6UTs2b2fTPyeEgTx8=
gitoa.ru/go-4devs/config v0.0.10 h1:NSagD0voj77/IGqRGsbR0DZmDvFcxbx+oRoWQnLnSy4=
gitoa.ru/go-4devs/config v0.0.10/go.mod h1:cLW1+4E4uM4Pw+z4RuKEKbO1Lz6UTs2b2fTPyeEgTx8=
gitoa.ru/go-4devs/config v0.0.11 h1:lPqWT2ppRybIUqqUDEUFfTZd3vl4+E5QkDFhhDyH2OE=
gitoa.ru/go-4devs/config v0.0.11/go.mod h1:cLW1+4E4uM4Pw+z4RuKEKbO1Lz6UTs2b2fTPyeEgTx8=
golang.org/x/mod v0.31.0 h1:HaW9xtz0+kOcWKwli0ZXy79Ix+UW/vOfmWI5QVd2tgI=
golang.org/x/mod v0.31.0/go.mod h1:43JraMp9cGx1Rx3AqioxrbrhNsLl2l/iNAvuBkrezpg=
golang.org/x/sync v0.19.0 h1:vV+1eWNmZ5geRlYjzm2adRgW2/mcpevXNg50YZtPCE4=