1
0
mirror of https://github.com/go-micro/go-micro.git synced 2025-06-18 22:17: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

@ -11,7 +11,7 @@ This is an example of creating a micro function. A function is a one time execut
```shell
while true; do
github.com/micro/go-micro/examples/function
github.com/asim/go-micro/examples/v3/function
done
```

View File

@ -3,7 +3,7 @@ package main
import (
"context"
proto "github.com/micro/go-micro/examples/function/proto"
proto "github.com/asim/go-micro/examples/v3/function/proto"
"github.com/asim/go-micro/v3"
)

View File

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

View File

@ -1,11 +1,11 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: github.com/micro/go-micro/examples/function/proto/greeter.proto
// source: github.com/asim/go-micro/examples/v3/function/proto/greeter.proto
/*
Package greeter is a generated protocol buffer package.
It is generated from these files:
github.com/micro/go-micro/examples/function/proto/greeter.proto
github.com/asim/go-micro/examples/v3/function/proto/greeter.proto
It has these top-level messages:
HelloRequest
@ -139,11 +139,11 @@ var _Greeter_serviceDesc = grpc.ServiceDesc{
},
},
Streams: []grpc.StreamDesc{},
Metadata: "github.com/micro/go-micro/examples/function/proto/greeter.proto",
Metadata: "github.com/asim/go-micro/examples/v3/function/proto/greeter.proto",
}
func init() {
proto.RegisterFile("github.com/micro/go-micro/examples/function/proto/greeter.proto", fileDescriptor0)
proto.RegisterFile("github.com/asim/go-micro/examples/v3/function/proto/greeter.proto", fileDescriptor0)
}
var fileDescriptor0 = []byte{