Move util/socket.go to service/

This commit is contained in:
Cheer Xiao 2014-09-21 17:52:24 +02:00
parent 9f4d14dfb4
commit 176abcb0b1
2 changed files with 2 additions and 3 deletions

View File

@ -15,7 +15,6 @@ import (
"github.com/coopernurse/gorp"
_ "github.com/mattn/go-sqlite3"
"github.com/xiaq/elvish/service"
"github.com/xiaq/elvish/util"
)
const (
@ -23,7 +22,7 @@ const (
)
func main() {
laddr, err := util.SocketName()
laddr, err := service.SocketName()
if err != nil {
log.Fatalln("get socket name:", err)
}

View File

@ -1,4 +1,4 @@
package util
package service
import (
"fmt"