gofmt daemon

pull/3/head
Simon Let 7 years ago
parent 3b90a42240
commit bf9167e96a
  1. 11
      daemon/resh-daemon.go

@ -3,17 +3,17 @@ package main
import (
"encoding/json"
//"flag"
"log"
"github.com/BurntSushi/toml"
common "github.com/curusarn/resh/common"
"io/ioutil"
"path/filepath"
"log"
"net/http"
"os"
"os/exec"
"os/user"
"path/filepath"
"strconv"
"strings"
"net/http"
common "github.com/curusarn/resh/common"
"github.com/BurntSushi/toml"
)
func main() {
@ -148,7 +148,6 @@ func isDaemonRunning(port int) (bool, error) {
return true, nil
//body, err := ioutil.ReadAll(resp.Body)
// dat, err := ioutil.ReadFile(pidfile)
// if err != nil {
// log.Println("Reading pid file failed", err)

Loading…
Cancel
Save