mirror of
https://github.com/go-sylixos/elvish.git
synced 2024-12-12 17:27:50 +08:00
Move util/socket.go to service/
This commit is contained in:
parent
9f4d14dfb4
commit
176abcb0b1
|
@ -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)
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package util
|
||||
package service
|
||||
|
||||
import (
|
||||
"fmt"
|
Loading…
Reference in New Issue
Block a user