Change from tabs to spaces
This commit is contained in:
parent
3453b8f21b
commit
74c01beba4
4
main.go
4
main.go
@ -15,7 +15,7 @@ func main() {
|
||||
}
|
||||
|
||||
s := bufio.NewScanner(f)
|
||||
fmt.Println("\tenvironment:")
|
||||
fmt.Println(" environment:")
|
||||
|
||||
for s.Scan() {
|
||||
if strings.HasPrefix(s.Text(), "export ") {
|
||||
@ -24,7 +24,7 @@ func main() {
|
||||
v := strings.Split(s.Text()[7:], "=")
|
||||
v[1] = strings.TrimSuffix(v[1], "\"")
|
||||
v[1] = strings.TrimPrefix(v[1], "\"")
|
||||
fmt.Printf("\t\t- %s=%s\n", v[0], v[1])
|
||||
fmt.Printf(" - %s=%s\n", v[0], v[1])
|
||||
}
|
||||
}
|
||||
if err := s.Err(); err != nil {
|
||||
|
Loading…
x
Reference in New Issue
Block a user