Update go.mod, main.go, and 9 more files...

This commit is contained in:
RamiBerm 2021-05-10 11:39:43 +03:00
parent 18e111beb8
commit 204aad60c4
7 changed files with 7 additions and 14 deletions

View File

@ -3,7 +3,6 @@ module mizuserver
go 1.16
require (
github.com/up9inc/mizu/resolver v0.0.0
github.com/antoniodipinto/ikisocket v0.0.0-20210417133349-f1502512d69a
github.com/djherbis/atime v1.0.0
github.com/fasthttp/websocket v1.4.3-beta.1 // indirect
@ -22,6 +21,7 @@ require (
golang.org/x/net v0.0.0-20210421230115-4e50805a0758
gorm.io/driver/sqlite v1.1.4
gorm.io/gorm v1.21.8
k8s.io/api v0.21.0 // indirect
k8s.io/apimachinery v0.21.0
k8s.io/client-go v0.21.0
)
replace github.com/up9inc/mizu/resolver => ../resolver

View File

@ -7,10 +7,10 @@ import (
"fmt"
"github.com/antoniodipinto/ikisocket"
"github.com/google/martian/har"
"github.com/up9inc/mizu/resolver"
"go.mongodb.org/mongo-driver/bson/primitive"
"mizuserver/pkg/database"
"mizuserver/pkg/models"
"mizuserver/pkg/resolver"
"mizuserver/pkg/utils"
"net/url"
"os"

View File

@ -1,3 +1,5 @@
<!--
(NOT RELEVANT CURRENTLY)
## Installation
To be able to import this package, you must add `replace github.com/up9inc/mizu/resolver => ../resolver` to the end of your `go.mod` file
@ -22,7 +24,7 @@ replace github.com/up9inc/mizu/resolver => ../resolver
```
Now you will be able to import `github.com/up9inc/mizu/resolver` in any `.go` file
-->
## Usage
### Full example

View File

@ -1,9 +0,0 @@
module github.com/up9inc/mizu/resolver
go 1.16
require (
k8s.io/api v0.21.0 // indirect
k8s.io/apimachinery v0.21.0
k8s.io/client-go v0.21.0
)