🔨Cobra package replaced with standard flag package

This commit is contained in:
2024-12-18 20:58:14 +04:00
parent 04e5b5f3eb
commit 186683fce5
7 changed files with 123 additions and 72 deletions

View File

@@ -14,6 +14,8 @@ type Option[T NonNilT] interface {
ValueOrErr() (T, error)
ValueOr(def T) T
ValueOrPanic() T
SetValue(value T)
SetNone()
UnmarshalJSON(data []byte) error
}