Skip to content

Commit

Permalink
fix:gomod
Browse files Browse the repository at this point in the history
  • Loading branch information
songzhibin97 committed Aug 29, 2021
1 parent 75f599f commit c72d3bd
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 10 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ package main
import (
"fmt"
"os"
"songzhibin/ws/internal/biz"
"songzhibin/ws/internal/data"
"github.com/flipped-aurora/ws/internal/biz"
"github.com/flipped-aurora/ws/internal/data"

"github.com/gin-gonic/gin"
"go.uber.org/zap"
Expand Down
5 changes: 3 additions & 2 deletions cmd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@ package main
import (
"fmt"
"os"
"songzhibin/ws/internal/biz"
"songzhibin/ws/internal/data"

"github.com/flipped-aurora/ws/internal/biz"
"github.com/flipped-aurora/ws/internal/data"

"github.com/gin-gonic/gin"
"go.uber.org/zap"
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module songzhibin/ws
module github.com/flipped-aurora/ws

go 1.16

Expand Down
3 changes: 2 additions & 1 deletion internal/data/data_admin.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@ package data

import (
"net/http"
"songzhibin/ws/internal/biz"
"time"

"github.com/flipped-aurora/ws/internal/biz"

"github.com/gin-gonic/gin"
"go.uber.org/zap"
"nhooyr.io/websocket"
Expand Down
3 changes: 2 additions & 1 deletion internal/data/data_client.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
package data

import (
"songzhibin/ws/internal/biz"
"sync/atomic"

"github.com/flipped-aurora/ws/internal/biz"

"context"
)

Expand Down
3 changes: 2 additions & 1 deletion internal/data/data_handler.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
package data

import (
"songzhibin/ws/internal/biz"
"sync"
"sync/atomic"

"github.com/flipped-aurora/ws/internal/biz"
)

type Handle struct {
Expand Down
5 changes: 3 additions & 2 deletions internal/data/data_manage.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,11 @@ package data
import (
"context"
"fmt"
"songzhibin/ws/internal/biz"
"songzhibin/ws/internal/utils"
"sync"
"sync/atomic"

"github.com/flipped-aurora/ws/internal/biz"
"github.com/flipped-aurora/ws/internal/utils"
)

// Manage 管理所有客户端
Expand Down

0 comments on commit c72d3bd

Please sign in to comment.