Skip to content

Commit

Permalink
update go mod
Browse files Browse the repository at this point in the history
  • Loading branch information
cheng-zhongliang committed Jul 19, 2023
1 parent 44722bc commit f6b0068
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,10 @@ Example echo server that binds to port 1246:
package main

import (
"github.com/cheng-zhongliang/event"
"syscall"
"time"

"github.com/cheng-zhongliang/event"
)

func main() {
Expand Down
3 changes: 2 additions & 1 deletion examples/echo_server.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
package main

import (
"event"
"syscall"
"time"

"github.com/cheng-zhongliang/event"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module event
module github.com/cheng-zhongliang/event

go 1.20
3 changes: 2 additions & 1 deletion test/event_test.go
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
package event

import (
. "event"
"syscall"
"testing"
"time"

. "github.com/cheng-zhongliang/event"
)

func TestNew(t *testing.T) {
Expand Down

0 comments on commit f6b0068

Please sign in to comment.