Ran go fmt on code.
parent
61f9a6e395
commit
4476d0f449
14
main.go
14
main.go
|
@ -1,15 +1,15 @@
|
|||
package main
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"bufio"
|
||||
"flag"
|
||||
"path"
|
||||
"path/filepath"
|
||||
"os"
|
||||
"os/user"
|
||||
"fmt"
|
||||
"io"
|
||||
"io/ioutil"
|
||||
"bufio"
|
||||
"os"
|
||||
"os/user"
|
||||
"path"
|
||||
"path/filepath"
|
||||
"strings"
|
||||
"time"
|
||||
)
|
||||
|
@ -116,7 +116,7 @@ func SetVenture(args []string) error {
|
|||
}
|
||||
|
||||
// Prepend status with user's name
|
||||
input = "~"+curUser.Username+input
|
||||
input = "~" + curUser.Username + input
|
||||
|
||||
// Write file and create if it doesn't exist as world-readable.
|
||||
err = ioutil.WriteFile(outputPath, []byte(input), 0644)
|
||||
|
|
Loading…
Reference in New Issue