1
0
mirror of https://github.com/go-micro/go-micro.git synced 2025-11-29 21:47:44 +02:00

examples at v3

This commit is contained in:
Asim Aslam
2021-01-20 21:28:48 +00:00
parent dc8236ec05
commit 8e3b7a57d9
234 changed files with 326 additions and 12243 deletions

View File

@@ -4,11 +4,11 @@ import (
"log"
"context"
"github.com/micro/go-micro/examples/server/subscriber"
"github.com/asim/go-micro/v3/config/cmd"
"github.com/asim/go-micro/examples/v3/server/subscriber"
"github.com/asim/go-micro/v3/cmd"
"github.com/asim/go-micro/v3/server"
example "github.com/micro/go-micro/examples/server/proto/example"
example "github.com/asim/go-micro/examples/v3/server/proto/example"
)
type Example struct{}

View File

@@ -3,7 +3,7 @@ package handler
import (
"log"
example "github.com/micro/go-micro/examples/server/proto/example"
example "github.com/asim/go-micro/examples/v3/server/proto/example"
"github.com/asim/go-micro/v3/metadata"
"github.com/asim/go-micro/v3/server"

View File

@@ -3,9 +3,9 @@ package main
import (
"log"
"github.com/micro/go-micro/examples/server/handler"
"github.com/micro/go-micro/examples/server/subscriber"
"github.com/asim/go-micro/v3/config/cmd"
"github.com/asim/go-micro/examples/v3/server/handler"
"github.com/asim/go-micro/examples/v3/server/subscriber"
"github.com/asim/go-micro/v3/cmd"
"github.com/asim/go-micro/v3/server"
)

View File

@@ -1,11 +1,11 @@
// Code generated by protoc-gen-micro. DO NOT EDIT.
// source: github.com/micro/go-micro/examples/server/proto/example/example.proto
// source: github.com/asim/go-micro/examples/v3/server/proto/example/example.proto
/*
Package go_micro_srv_example is a generated protocol buffer package.
It is generated from these files:
github.com/micro/go-micro/examples/server/proto/example/example.proto
github.com/asim/go-micro/examples/v3/server/proto/example/example.proto
It has these top-level messages:
Message

View File

@@ -1,11 +1,11 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: github.com/micro/go-micro/examples/server/proto/example/example.proto
// source: github.com/asim/go-micro/examples/v3/server/proto/example/example.proto
/*
Package go_micro_srv_example is a generated protocol buffer package.
It is generated from these files:
github.com/micro/go-micro/examples/server/proto/example/example.proto
github.com/asim/go-micro/examples/v3/server/proto/example/example.proto
It has these top-level messages:
Message
@@ -355,11 +355,11 @@ var _Example_serviceDesc = grpc.ServiceDesc{
ClientStreams: true,
},
},
Metadata: "github.com/micro/go-micro/examples/server/proto/example/example.proto",
Metadata: "github.com/asim/go-micro/examples/v3/server/proto/example/example.proto",
}
func init() {
proto.RegisterFile("github.com/micro/go-micro/examples/server/proto/example/example.proto", fileDescriptor0)
proto.RegisterFile("github.com/asim/go-micro/examples/v3/server/proto/example/example.proto", fileDescriptor0)
}
var fileDescriptor0 = []byte{

View File

@@ -4,7 +4,7 @@ import (
"log"
"context"
example "github.com/micro/go-micro/examples/server/proto/example"
example "github.com/asim/go-micro/examples/v3/server/proto/example"
)
type Example struct{}

View File

@@ -4,9 +4,9 @@ import (
"log"
"context"
"github.com/micro/go-micro/examples/server/handler"
"github.com/micro/go-micro/examples/server/subscriber"
"github.com/asim/go-micro/v3/config/cmd"
"github.com/asim/go-micro/examples/v3/server/handler"
"github.com/asim/go-micro/examples/v3/server/subscriber"
"github.com/asim/go-micro/v3/cmd"
"github.com/asim/go-micro/v3/server"
)