mirror of
https://github.com/kevin-DL/services.git
synced 2026-01-11 10:54:28 +00:00
update go mod (#334)
This commit is contained in:
2
go.mod
2
go.mod
@@ -31,7 +31,7 @@ require (
|
||||
github.com/m3o/goduckgo v0.0.0-20210630141545-c760fe67b945
|
||||
github.com/mattheath/base62 v0.0.0-20150408093626-b80cdc656a7a // indirect
|
||||
github.com/mattheath/kala v0.0.0-20171219141654-d6276794bf0e
|
||||
github.com/micro/micro/v3 v3.8.0
|
||||
github.com/micro/micro/v3 v3.8.1-0.20211216122745-2e7245423520
|
||||
github.com/miekg/dns v1.1.31 // indirect
|
||||
github.com/minio/minio-go/v7 v7.0.16
|
||||
github.com/o1egl/govatar v0.3.0
|
||||
|
||||
2
go.sum
2
go.sum
@@ -495,6 +495,8 @@ github.com/mattn/go-tty v0.0.0-20180219170247-931426f7535a/go.mod h1:XPvLUNfbS4f
|
||||
github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod h1:D8He9yQNgCq6Z5Ld7szi9bcBfOoFv/3dc6xSMkL2PC0=
|
||||
github.com/micro/micro/v3 v3.8.0 h1:RTH2835RJ4/aqLZGMjGCIf7HroCmYlJh2KRHHuSL/AE=
|
||||
github.com/micro/micro/v3 v3.8.0/go.mod h1:gjFa8T2ouD6BvorPTVPXLWtrRJwSKT5KxUNuu23Kkts=
|
||||
github.com/micro/micro/v3 v3.8.1-0.20211216122745-2e7245423520 h1:LtErHRofRQf5damrjb5AkpvmklaIhx3anLJ9sN4fMrI=
|
||||
github.com/micro/micro/v3 v3.8.1-0.20211216122745-2e7245423520/go.mod h1:gjFa8T2ouD6BvorPTVPXLWtrRJwSKT5KxUNuu23Kkts=
|
||||
github.com/miekg/dns v1.1.15/go.mod h1:W1PPwlIAgtquWBMBEV9nkV9Cazfe8ScdGz/Lj7v3Nrg=
|
||||
github.com/miekg/dns v1.1.27/go.mod h1:KNUDUusw/aVsxyTYZM1oqvCicbwhgbNgztCETuNZ7xM=
|
||||
github.com/miekg/dns v1.1.31 h1:sJFOl9BgwbYAWOGEwr61FU28pqsBNdpRBnhGXtO06Oo=
|
||||
|
||||
@@ -1,2 +1,3 @@
|
||||
package main
|
||||
|
||||
//go:generate make proto
|
||||
|
||||
@@ -1,2 +1,3 @@
|
||||
package main
|
||||
|
||||
//go:generate make proto
|
||||
|
||||
@@ -104,4 +104,3 @@ type Token struct {
|
||||
EthPrice string `json:"eth_price,omitempty"`
|
||||
UsdPrice string `json:"usd_price,omitempty"`
|
||||
}
|
||||
|
||||
|
||||
@@ -1,2 +1,3 @@
|
||||
package main
|
||||
|
||||
//go:generate make proto
|
||||
|
||||
@@ -3,13 +3,11 @@ package handler
|
||||
import (
|
||||
"context"
|
||||
|
||||
|
||||
pb "github.com/micro/services/nft/proto"
|
||||
)
|
||||
|
||||
type Nft struct{}
|
||||
|
||||
|
||||
func (n *Nft) Assets(ctx context.Context, req *pb.AssetsRequest, rsp *pb.AssetsResponse) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
@@ -4,12 +4,12 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
|
||||
"github.com/micro/services/pkg/api"
|
||||
"github.com/micro/services/nft/domain"
|
||||
"github.com/micro/micro/v3/service/config"
|
||||
"github.com/micro/micro/v3/service/logger"
|
||||
"github.com/micro/micro/v3/service/errors"
|
||||
"github.com/micro/micro/v3/service/logger"
|
||||
"github.com/micro/services/nft/domain"
|
||||
pb "github.com/micro/services/nft/proto"
|
||||
"github.com/micro/services/pkg/api"
|
||||
)
|
||||
|
||||
// OpenSea handler
|
||||
@@ -23,7 +23,6 @@ var (
|
||||
openseaURL = "https://api.opensea.io/api/v1"
|
||||
)
|
||||
|
||||
|
||||
func New() *OpenSea {
|
||||
v, err := config.Get("nft.key")
|
||||
if err != nil {
|
||||
@@ -262,4 +261,3 @@ func (o *OpenSea) Collections(ctx context.Context, req *pb.CollectionsRequest, r
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"github.com/micro/services/nft/handler"
|
||||
pb "github.com/micro/services/nft/proto"
|
||||
"github.com/micro/micro/v3/service"
|
||||
"github.com/micro/micro/v3/service/logger"
|
||||
"github.com/micro/services/nft/handler"
|
||||
pb "github.com/micro/services/nft/proto"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
||||
@@ -1,2 +1,3 @@
|
||||
package main
|
||||
|
||||
//go:generate make proto
|
||||
|
||||
@@ -5,9 +5,8 @@ import (
|
||||
"sync"
|
||||
"time"
|
||||
|
||||
|
||||
"github.com/micro/services/pkg/tenant"
|
||||
"github.com/micro/micro/v3/service/store"
|
||||
"github.com/micro/services/pkg/tenant"
|
||||
pb "github.com/micro/services/search/proto"
|
||||
)
|
||||
|
||||
@@ -47,4 +46,3 @@ func (n *Search) Vote(ctx context.Context, req *pb.VoteRequest, rsp *pb.VoteResp
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"github.com/micro/services/search/handler"
|
||||
pb "github.com/micro/services/search/proto"
|
||||
"github.com/micro/micro/v3/service"
|
||||
"github.com/micro/micro/v3/service/logger"
|
||||
"github.com/micro/services/search/handler"
|
||||
pb "github.com/micro/services/search/proto"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
||||
@@ -3,8 +3,8 @@ package handler
|
||||
import (
|
||||
"context"
|
||||
|
||||
me "github.com/micro/micro/v3/service/errors"
|
||||
"github.com/micro/micro/v3/service/config"
|
||||
me "github.com/micro/micro/v3/service/errors"
|
||||
"github.com/micro/micro/v3/service/logger"
|
||||
"github.com/pkg/errors"
|
||||
"golang.org/x/text/language"
|
||||
|
||||
Reference in New Issue
Block a user