refactor(api)!: remove Delete method from public API

Environment variables are unaffected by Delete, making it misleading —
callers would expect a key to be fully gone but env vars would still
resolve. Sub is the better abstraction for scoped config.
This commit is contained in:
2026-03-09 19:35:59 +00:00
parent ff8a3444f1
commit a81a2027ae
3 changed files with 0 additions and 92 deletions

View File

@@ -88,10 +88,6 @@ func SetString(key string, value string) {
defaultConfigManager.SetString(key, value)
}
func Delete(key string) {
defaultConfigManager.Delete(key)
}
func Sub(key string) *ConfigManager {
return defaultConfigManager.Sub(key)
}