chore(settings): use qdm12/gosettings functions
- use: FileExists, ObfuscateKey, BoolToYesNo - remove local functions moved to gosettings
This commit is contained in:
@@ -1,12 +1,5 @@
|
||||
package helpers
|
||||
|
||||
func BoolPtrToYesNo(b *bool) string {
|
||||
if *b {
|
||||
return "yes"
|
||||
}
|
||||
return "no"
|
||||
}
|
||||
|
||||
func TCPPtrToString(tcp *bool) string {
|
||||
if *tcp {
|
||||
return "TCP"
|
||||
|
||||
Reference in New Issue
Block a user