mirror of
https://github.com/go-micro/go-micro.git
synced 2025-06-18 22:17:44 +02:00
rename imports
This commit is contained in:
@ -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/examples/function
|
||||
github.com/micro/go-micro/examples/function
|
||||
done
|
||||
```
|
||||
|
||||
|
@ -3,7 +3,7 @@ package main
|
||||
import (
|
||||
"context"
|
||||
|
||||
proto "github.com/micro/examples/function/proto"
|
||||
proto "github.com/micro/go-micro/examples/function/proto"
|
||||
"github.com/micro/go-micro/v2"
|
||||
)
|
||||
|
||||
|
@ -1,11 +1,11 @@
|
||||
// Code generated by protoc-gen-micro. DO NOT EDIT.
|
||||
// source: github.com/micro/examples/function/proto/greeter.proto
|
||||
// source: github.com/micro/go-micro/examples/function/proto/greeter.proto
|
||||
|
||||
/*
|
||||
Package greeter is a generated protocol buffer package.
|
||||
|
||||
It is generated from these files:
|
||||
github.com/micro/examples/function/proto/greeter.proto
|
||||
github.com/micro/go-micro/examples/function/proto/greeter.proto
|
||||
|
||||
It has these top-level messages:
|
||||
HelloRequest
|
||||
|
@ -1,11 +1,11 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: github.com/micro/examples/function/proto/greeter.proto
|
||||
// source: github.com/micro/go-micro/examples/function/proto/greeter.proto
|
||||
|
||||
/*
|
||||
Package greeter is a generated protocol buffer package.
|
||||
|
||||
It is generated from these files:
|
||||
github.com/micro/examples/function/proto/greeter.proto
|
||||
github.com/micro/go-micro/examples/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/examples/function/proto/greeter.proto",
|
||||
Metadata: "github.com/micro/go-micro/examples/function/proto/greeter.proto",
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterFile("github.com/micro/examples/function/proto/greeter.proto", fileDescriptor0)
|
||||
proto.RegisterFile("github.com/micro/go-micro/examples/function/proto/greeter.proto", fileDescriptor0)
|
||||
}
|
||||
|
||||
var fileDescriptor0 = []byte{
|
||||
|
Reference in New Issue
Block a user