mirror of
https://github.com/aykhans/sarin.git
synced 2026-10-17 14:53:52 +00:00
🔨Cobra package replaced with standard flag package
This commit is contained in:
1 parent
04e5b5f3eb
commit
186683fce5
7 files changed
+123
-72
No files matched your search
@@ -19,10 +19,6 @@ func OSErrorFormater(err error) error {
|
||||
return ErrInvalidFile
|
||||
}
|
||||
|
||||
func CobraErrorFormater(err error) error {
|
||||
return err
|
||||
}
|
||||
|
||||
func shortenNamespace(namespace string) string {
|
||||
return namespace[strings.Index(namespace, ".")+1:]
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user