没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
GoWrap GoWrap是一个命令行工具,可以使用简单的模板为Go界面类型生成装饰器。 使用GoWrap,您可以轻松地将指标,跟踪,后备,池和许多其他功能添加到现有c GoWrap中。GoWrap是一个命令行工具,可以使用简单的模板为Go界面类型生成装饰器。 使用GoWrap,您可以在几秒钟内轻松地将指标,跟踪,后备,池和许多其他功能添加到现有代码中。 演示安装go get -u github.com/hexdigest/gowrap/cmd/gowrap gowrap的用法用法:gowrap gen -p package -i interfaceName -t模板-o output_file.go -g不要放// go:generate指令到生成的代码-i字符串中
资源推荐
资源详情
资源评论
收起资源包目录
gowrap-master.zip (82个子文件)
gowrap-master
.goreleaser.yml 408B
.gitignore 227B
go.mod 447B
templates
prometheus 2KB
retry 1KB
twirp_validate 1KB
opentracing 2KB
log 2KB
logrus 2KB
grpc_validate 1KB
ratelimit 1KB
timeout 1KB
circuitbreaker 2KB
syncpool 945B
fallback 2KB
twirp_error 1KB
robinpool 1KB
validate 1010B
cmd_generate.go 7KB
Makefile 613B
errors_test.go 189B
pkg
package.go 1KB
gowrap.gif 2.57MB
.travis.yml 416B
tools.go 210B
printer
printer_test.go 21KB
printer.go 5KB
templates_tests
interface_with_twirp_error_test.go 1KB
interface_with_opentracing_test.go 1KB
interface_with_retry_test.go 1KB
interface_with_validation.go 1KB
interface_with_fallback_test.go 3KB
interface.go 630B
interface_with_twirp_validation.go 1KB
interface_with_twirp_validation_test.go 791B
interface_with_syncpool.go 2KB
interface_with_twirp_error.go 1KB
interface_with_prometheus_metric_name.go 3KB
interface_with_prometheus.go 3KB
interface_with_prometheus_test.go 766B
interface_with_ratelimit_test.go 808B
interface_with_log.go 2KB
interface_with_opentracing.go 2KB
interface_with_timeout_test.go 1KB
interface_with_log_test.go 2KB
interface_with_circuitbreaker_test.go 2KB
interface_with_validation_test.go 1KB
interface_with_grpc_validation_test.go 852B
interface_with_grpc_validation.go 1KB
interface_with_retry.go 1KB
interface_with_timeout.go 1KB
interface_with_circuitbreaker.go 2KB
interface_with_fallback.go 4KB
tracer_mock_test.go 11KB
interface_with_logrus.go 3KB
interface_with_prometheus_metric_name_test.go 790B
interface_with_robinpool_test.go 1KB
interface_with_logrus_test.go 3KB
interface_with_robinpool.go 2KB
span_mock_test.go 34KB
interface_with_syncpool_test.go 910B
interface_with_ratelimit.go 2KB
LICENSE 1KB
cmd_template_test.go 7KB
remote_template_loader_mock_test.go 6KB
cmd_template.go 2KB
go.sum 67KB
cmd_generate_test.go 10KB
README.md 7KB
writer_mock_test.go 5KB
command_test.go 2KB
loader
loader_test.go 9KB
loader.go 3KB
http_client_mock_test.go 4KB
read_closer_mock_test.go 5KB
command.go 2KB
errors.go 207B
generator
types_test.go 3KB
generator.go 12KB
generator_test.go 16KB
types.go 8KB
cmd
gowrap
gowrap.go 2KB
共 82 条
- 1
资源评论
任念辰
- 粉丝: 49
- 资源: 4570
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功