1
0
mirror of https://github.com/go-micro/go-micro.git synced 2024-12-18 08:26:38 +02:00
Commit Graph

3752 Commits

Author SHA1 Message Date
zhaoyang
b25d744f5c
feat: delete redundant lines (#2364) 2021-11-24 17:41:54 +00:00
zhaoyang
685f9979a1
feat: modify the dependencies urls (#2363) 2021-11-24 16:43:05 +00:00
Asim Aslam
6fc5e45626
Update README.md 2021-11-24 07:32:51 +00:00
Asim Aslam
2c6515152a
Update load.go 2021-11-24 07:32:20 +00:00
Johnson C
70d2bd8a6b
[feature] dashboard (#2361) 2021-11-24 11:27:23 +08:00
Johnson C
90b3e4af0b
[fix] ignore unexported field (#2354)
ignore unexported field when register endpoints
2021-11-18 17:07:00 +08:00
Niek den Breeje
4f1a571704
Fix Micro CLI's proto comments (#2353) 2021-11-18 06:10:43 +01:00
陈杨文
799b8d6a65
upgrade to go 1.17 (#2346) 2021-11-11 14:03:34 +00:00
Asim Aslam
8e312801a1
Update README.md 2021-11-08 09:03:37 +00:00
Asim Aslam
335c4e54a1 Merge branch 'master' of ssh://github.com/asim/go-micro 2021-11-08 09:01:56 +00:00
Asim Aslam
e6d17257b0 add nats and redis events plugins 2021-11-08 08:59:14 +00:00
Asim Aslam
0c2041e439
add events package (#2341)
* add events package

* update go version
2021-11-08 08:52:39 +00:00
Johnson C
c5be9f560c
fix(#2333): etcd grpc marshal issue (#2334)
make protocodec compatible with legacy proto message type
2021-11-03 10:58:05 +08:00
Asim Aslam
62b985f49c
Update README.md 2021-11-01 21:44:52 +00:00
Asim Aslam
2b9a6f9aeb
flatten cli (#2332) 2021-11-01 14:34:09 +00:00
Asim Aslam
3c70d23a1d m3o client changed 2021-11-01 11:00:21 +00:00
Asim Aslam
adaa98e6cf use vanity url for cli command 2021-11-01 09:00:14 +00:00
无相
ed90a65783
fix broker nsq plugin nil pointer error (#2329)
Co-authored-by: longhaoteng <longhaoteng@kingsoft.com>
2021-11-01 08:47:22 +00:00
无相
268278c53e
fix config json slice parsing (#2330)
Co-authored-by: longhaoteng <longhaoteng@kingsoft.com>
2021-11-01 08:47:00 +00:00
Benjamin
5d5aee1f08
replace ioutil with io and os (#2327)
set the go version to 1.16 in pr.yml and tests.yml, so as to be consistent with the version in go.mod.
2021-10-30 19:24:40 +01:00
Johnson C
ed690ed838
fixing #2308 (#2326)
IPV6 too many colons in address
net.SplitHostPort need ipv6 address in [host]:port format
2021-10-28 17:03:48 +08:00
Niek den Breeje
e155029a4b
Fix Micro CLI by removing replace line in go.mod 2021-10-27 17:40:26 +02:00
Asim Aslam
880d751df4
Update README.md 2021-10-27 16:34:55 +01:00
Niek den Breeje
a3202b00ee
Rename gomu to micro (#2325)
* Rename Gomu to Micro

* docs: Remove license reference in CLI's README
2021-10-27 16:31:29 +01:00
Asim Aslam
efcda9a48c
Update README.md 2021-10-26 20:17:07 +01:00
Asim Aslam
2c73c7fcf3 strip protoc-gen-micro go mod 2021-10-26 19:46:25 +01:00
Johnson C
d2a51d05c4
[feature] stream CloseSend (#2323)
* support stream CloseSend

* move CloseSend into Closer
2021-10-26 15:07:08 +01:00
Johnson C
af3cfa0a4c
remove unnecessary dependencies between plugins
remove unnecessary dependencies between plugins
upgrade go-micro.dev/v4 to v4.2.1
2021-10-23 16:20:42 +08:00
Johnson C
f96b48dad9
1. use default memory registry in grpc plugins (#2317)
2. try fixing grpc plugin failed to get issue
use v4.0.0-v4.0.0-00010101000000-000000000000 instead of specific version
3. kafka panic on disconnect
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xc0000005 code=0x0 addr=0x18 pc=0x1266c50]

goroutine 31 [running]:
github.com/asim/go-micro/plugins/broker/kafka/v3.(*kBroker).Disconnect(0xc0002400c0)
        C:/Workshop/Go/pkg/mod/github.com/asim/go-micro/plugins/broker/kafka/v3@v3.7.0/kafka.go:130 +0xd0
github.com/asim/go-micro/plugins/server/grpc/v3.(*grpcServer).Start.func2()
        C:/Workshop/Go/pkg/mod/github.com/asim/go-micro/plugins/server/grpc/v3@v3.0.0-20210712061837-0532fd9de8ae/grpc.go:998 +0xc8d
created by github.com/asim/go-micro/plugins/server/grpc/v3.(*grpcServer).Start
        C:/Workshop/Go/pkg/mod/github.com/asim/go-micro/plugins/server/grpc/v3@v3.0.0-20210712061837-0532fd9de8ae/grpc.go:917 +0xcaf
exit status 2
2021-10-22 22:30:28 +08:00
Niek den Breeje
9edc569e68
Add update rule to Makefile (#2315)
I realized that when writing `require go-micro.dev/v4 v4.1.0` in the
`go.mod` file, `go mod tidy` will install that exact version of
`go-micro.dev/v4`. As of right now, v4.1.0 is an outdated version, and
preferably we shouldn't be updating gomu's Go Modules template everytime
a new release is tagged, but still want gomu users to generate projects
using the latest Go Micro version.

In an attempt to solve this problem, I'm opting to add a new Makefile
rule for new projects generated by gomu, `update` that runs `go get -u`.
This aggressively updates any dependencies your Go Modules project may
have.  `go mod tidy` is then able to prune the `go.mod` and `go.sum`
files by removing the unnecessary checksums and transitive dependencies
(e.g. `// indirect`), that were added to by go get -u due to newer
semver available.

Put one and one together and you get two. In addition to adding an
`update` rule to the Makefile generated for new projects by gomu, I'm
also updating the proto and client comments printed when new projects
have been generated to promote the `update` rule.

References:

- https://stackoverflow.com/questions/67201708/go-update-all-modules
2021-10-19 21:12:42 +02:00
Johnson C
29fefbad4e
Plugins (#2311)
* release plugins

* add window plugins release bat script

Co-authored-by: Johnson C <johnson.cheng@scenestek.com>
2021-10-16 05:56:51 +01:00
Asim Aslam
9f4770e7fd
fix generation (#2312) 2021-10-15 14:03:40 +01:00
Asim Aslam
e7dbda689e fix gomu 2021-10-14 08:09:21 +01:00
Asim Aslam
00f461141a fix examples go mod 2021-10-13 13:37:24 +01:00
Asim Aslam
8cad88edae update go sums 2021-10-13 13:35:17 +01:00
Asim Aslam
62801c3d68 update 2021-10-13 13:31:23 +01:00
Asim Aslam
7136c61dbd rename to go-micro.dev 2021-10-13 09:52:05 +01:00
Asim Aslam
a87f9a808c move to go-micro.dev 2021-10-13 09:44:24 +01:00
Asim Aslam
ca594b922c Merge branch 'master' of ssh://github.com/asim/go-micro 2021-10-13 09:42:31 +01:00
Asim Aslam
aa4a87ed9a move to v4 in protoc-gen-micro 2021-10-13 09:42:21 +01:00
justcy
690facdb5c
update model template (#2307) 2021-10-13 08:07:48 +01:00
Asim Aslam
f63e46a7d1 use 4.1.0 2021-10-12 13:22:08 +01:00
Asim Aslam
1cd7cfaa6c
go-micro.dev/v4 (#2305) 2021-10-12 12:55:53 +01:00
jxlwqq
d9a6faeb7a
Add latest version (#2303) 2021-10-11 15:15:42 +01:00
Asim Aslam
4cb6168780
Update README.md 2021-10-11 09:21:06 +01:00
Asim Aslam
b8d7f87d17 remove file 2021-10-11 09:19:20 +01:00
Asim Aslam
b2e17a89e5 rename file 2021-10-11 09:19:01 +01:00
Asim Aslam
4ae2528cbe
add m3o services (#2301)
* add m3o services

* update readme
2021-10-11 09:18:28 +01:00
Asim Aslam
043a82bce2
Update README.md 2021-10-11 08:38:31 +01:00
Asim Aslam
99e0b182b7
Update README.md 2021-10-11 08:38:07 +01:00