checking in some config stuff
This commit is contained in:
@@ -1,5 +1,9 @@
|
||||
package config
|
||||
|
||||
import (
|
||||
`fmt`
|
||||
)
|
||||
|
||||
type sshBool bool
|
||||
|
||||
func (b sshBool) Str() string {
|
||||
@@ -8,3 +12,13 @@ func (b sshBool) Str() string {
|
||||
}
|
||||
return "no"
|
||||
}
|
||||
|
||||
type sshEnv map[string]string
|
||||
|
||||
func (e sshEnv) Str() string {
|
||||
var s string
|
||||
for k, v := range e {
|
||||
s += fmt.Sprintf("%v=%v", k, v)
|
||||
}
|
||||
return s
|
||||
}
|
||||
Reference in New Issue
Block a user