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
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
9f4770e7fd
fix generation ( #2312 )
cmd/protoc-gen-micro/v4.0.0
2021-10-15 14:03:40 +01:00
e7dbda689e
fix gomu
v4.2.1
2021-10-14 08:09:21 +01:00
00f461141a
fix examples go mod
v4.2.0
2021-10-13 13:37:24 +01:00
8cad88edae
update go sums
2021-10-13 13:35:17 +01:00
62801c3d68
update
2021-10-13 13:31:23 +01:00
7136c61dbd
rename to go-micro.dev
2021-10-13 09:52:05 +01:00
a87f9a808c
move to go-micro.dev
2021-10-13 09:44:24 +01:00
ca594b922c
Merge branch 'master' of ssh://github.com/asim/go-micro
2021-10-13 09:42:31 +01:00
aa4a87ed9a
move to v4 in protoc-gen-micro
2021-10-13 09:42:21 +01:00
690facdb5c
update model template ( #2307 )
2021-10-13 08:07:48 +01:00
f63e46a7d1
use 4.1.0
2021-10-12 13:22:08 +01:00
1cd7cfaa6c
go-micro.dev/v4 ( #2305 )
v4.1.0
v4.0.0
2021-10-12 12:55:53 +01:00
d9a6faeb7a
Add latest version ( #2303 )
plugins/broker/segmentio/v3.7.0
plugins/config/source/pkger/v3.7.0
plugins/wrapper/trace/datadog/v3.7.0
plugins/config/encoder/toml/v3.7.0
plugins/config/encoder/cue/v3.7.0
plugins/config/encoder/xml/v3.7.0
plugins/codec/segmentio/v3.7.0
plugins/config/encoder/yaml/v3.7.0
plugins/codec/msgpackrpc/v3.7.0
plugins/config/source/configmap/v3.7.0
plugins/codec/jsonrpc2/v3.7.0
plugins/config/source/consul/v3.7.0
plugins/codec/json-iterator/v3.7.0
plugins/config/source/etcd/v3.7.0
plugins/codec/bsonrpc/v3.7.0
plugins/client/mucp/v3.7.0
plugins/config/source/grpc/v3.7.0
plugins/client/mock/v3.7.0
plugins/config/source/mucp/v3.7.0
plugins/client/http/v3.7.0
plugins/config/source/nacos/v3.7.0
plugins/client/grpc/v3.7.0
plugins/broker/stomp/v3.7.0
plugins/broker/stan/v3.7.0
plugins/broker/sqs/v3.7.0
plugins/config/source/runtimevar/v3.7.0
plugins/broker/snssqs/v3.7.0
plugins/config/source/url/v3.7.0
plugins/config/source/vault/v3.7.0
plugins/broker/redis/v3.7.0
plugins/broker/rabbitmq/v3.7.0
plugins/broker/proxy/v3.7.0
plugins/broker/nsq/v3.7.0
plugins/logger/apex/v3.7.0
plugins/broker/nats/v3.7.0
plugins/logger/logrus/v3.7.0
plugins/broker/mqtt/v3.7.0
plugins/logger/windowseventlog/v3.7.0
plugins/broker/memory/v3.7.0
plugins/logger/zap/v3.7.0
plugins/broker/kafka/v3.7.0
plugins/logger/zerolog/v3.7.0
plugins/broker/http/v3.7.0
plugins/broker/grpc/v3.7.0
plugins/broker/googlepubsub/v3.7.0
plugins/broker/gocloud/v3.7.0
plugins/auth/jwt/v3.7.0
plugins/acme/certmagic/v3.7.0
cmd/protoc-gen-micro/v3.7.0
plugins/wrapper/select/roundrobin/v3.7.0
plugins/wrapper/ratelimiter/uber/v3.7.0
plugins/wrapper/ratelimiter/ratelimit/v3.7.0
plugins/wrapper/monitoring/victoriametrics/v3.7.0
v3.7.0
plugins/wrapper/monitoring/prometheus/v3.7.0
plugins/wrapper/endpoint/v3.7.0
plugins/wrapper/breaker/hystrix/v3.7.0
plugins/wrapper/breaker/gobreaker/v3.7.0
plugins/transport/utp/v3.7.0
plugins/transport/tcp/v3.7.0
plugins/transport/rabbitmq/v3.7.0
plugins/transport/quic/v3.7.0
plugins/transport/nats/v3.7.0
plugins/transport/memory/v3.7.0
plugins/transport/http/v3.7.0
plugins/transport/grpc/v3.7.0
plugins/sync/memory/v3.7.0
release
plugins/sync/etcd/v3.7.0
plugins/proxy/http/v3.7.0
plugins/wrapper/validator/v3.7.0
plugins/registry/cache/v3.7.0
plugins/sync/consul/v3.7.0
plugins/registry/consul/v3.7.0
plugins/wrapper/trace/opentracing/v3.7.0
plugins/registry/etcd/v3.7.0
plugins/store/redis/v3.7.0
plugins/registry/eureka/v3.7.0
plugins/wrapper/trace/opencensus/v3.7.0
plugins/registry/gossip/v3.7.0
plugins/store/mysql/v3.7.0
plugins/registry/kubernetes/v3.7.0
plugins/store/memory/v3.7.0
plugins/registry/mdns/v3.7.0
plugins/store/memcached/v3.7.0
plugins/registry/memory/v3.7.0
plugins/wrapper/trace/awsxray/v3.7.0
plugins/registry/multi/v3.7.0
plugins/store/file/v3.7.0
plugins/registry/nacos/v3.7.0
plugins/wrapper/service/v3.7.0
plugins/registry/nats/v3.7.0
plugins/store/consul/v3.7.0
plugins/registry/proxy/v3.7.0
plugins/wrapper/select/version/v3.7.0
plugins/registry/zookeeper/v3.7.0
plugins/store/cockroach/v3.7.0
plugins/selector/dns/v3.7.0
plugins/wrapper/select/shard/v3.7.0
plugins/selector/label/v3.7.0
plugins/config/encoder/hcl/v3.7.0
plugins/selector/registry/v3.7.0
plugins/server/mucp/v3.7.0
plugins/selector/shard/v3.7.0
plugins/server/http/v3.7.0
plugins/selector/static/v3.7.0
plugins/server/grpc/v3.7.0
plugins/network/grpc/v3.7.0
plugins/network/http/v3.7.0
plugins/network/memory/v3.7.0
plugins/network/nats/v3.7.0
plugins/network/quic/v3.7.0
plugins/network/rabbitmq/v3.7.0
plugins/network/tcp/v3.7.0
plugins/network/utp/v3.7.0
2021-10-11 15:15:42 +01:00
4cb6168780
Update README.md
2021-10-11 09:21:06 +01:00
b8d7f87d17
remove file
2021-10-11 09:19:20 +01:00
b2e17a89e5
rename file
2021-10-11 09:19:01 +01:00
4ae2528cbe
add m3o services ( #2301 )
...
* add m3o services
* update readme
2021-10-11 09:18:28 +01:00
043a82bce2
Update README.md
2021-10-11 08:38:31 +01:00
99e0b182b7
Update README.md
2021-10-11 08:38:07 +01:00
ab1b10f13d
Update README.md
2021-10-11 08:37:38 +01:00
86eabf4a4c
Use go install ( #2300 )
...
go get: installing executables with 'go get' in module mode is deprecated.
To adjust and download dependencies of the current module, use 'go get -d'.
To install using requirements of the current module, use 'go install'.
To install ignoring the current module, use 'go install' with a version,
like 'go install example.com/cmd@latest'.
For more information, see https://golang.org/doc/go-get-install-deprecation
or run 'go help get' or 'go help install'.
2021-10-11 06:32:13 +01:00
a99a1e9356
add MultiError type ( #2297 )
2021-10-06 17:55:14 +01:00
2ef523a7eb
Delete index.html
2021-10-02 13:13:22 +01:00
a1da40d9aa
Delete CNAME
2021-10-01 20:23:38 +01:00
a315fc2dda
Fix missing content type ( #2289 )
2021-09-30 12:15:09 +01:00
6dc25053ea
Errors ( #2290 )
...
* add errors.As
convert target err to *Error, return false if err don't match *Error
* update errors.As to (*Error, bool)
* fixing FromError panic issue when err is nil
2021-09-30 07:45:10 +01:00
4612baa7f8
zap plugin: allow injecting zap logger options ( #2287 )
...
Though some of the Zap logger option can be customized through
plugins/logger/zap.Options, this change allows go.uber.org/zap.Option be
be injected directly for deeper customization.
2021-09-29 07:12:16 +01:00
44ecd6a457
Hystrix filter ( #2286 )
...
* support hystrix filter
* filter function should return true of false
2021-09-28 11:23:04 +01:00
8c39b1e120
Update index.html
2021-09-24 09:10:04 +01:00
12eff1cc60
go fmt
2021-09-24 09:08:39 +01:00
9deb715ebb
Update go.mod
2021-09-24 09:08:16 +01:00
3b60db0dcd
logger helper: add "inject" method, to make a pair with "extract" ( #2283 )
2021-09-23 16:48:08 +01:00
af22cbb108
Update README.md
2021-09-22 14:48:20 +01:00
9d7131a512
Update README.md
2021-09-22 14:43:37 +01:00
bca9ab165d
Update README.md
2021-09-22 14:42:17 +01:00
d111f96993
Update README.md
2021-09-22 14:41:29 +01:00
2f223c276c
Update README.md
2021-09-22 14:32:06 +01:00
33acb4a956
update readme
2021-09-22 14:31:21 +01:00
b515785637
add services dir
2021-09-22 14:30:40 +01:00
3dcdcdad32
Update README.md
2021-09-22 13:37:07 +01:00
916ed6b8ee
logger: caller's skip correction ( #2280 )
2021-09-22 09:01:03 +01:00
b8fbe87e1f
Use context to log "panic recovered" errors in grpc-server plugin ( #2278 )
2021-09-20 10:50:13 +01:00
cb3db7dd83
Update options.go
2021-09-19 17:22:28 +01:00
066ce5045b
Command Option add NewConfig,NewProfile func ( #2276 )
...
* Add grpc,memory,quic transport automatically discover
* Add grpc,memory,quic transport automatically discover
* Add jwt auth automatically discover
* Add jwt auth automatically discover
* Add config command option automatically discover
* Add AuthCall wrapper func
* Add NewConfig func
* Add NewProfile func
2021-09-19 17:21:55 +01:00
a65932ff82
Create CNAME
2021-09-19 15:10:47 +01:00
5496086916
Create index.html
2021-09-19 14:44:03 +01:00
efd4ef0e62
fix(cache): only watch calling service in registry ( #2273 )
2021-09-19 10:40:21 +01:00
00d819a199
Remove fields map from Helper, add Extract method and fix for defaultLogger.Fields ( #2274 )
2021-09-19 10:40:09 +01:00