Giter VIP home page Giter VIP logo

go-kratos.dev's Introduction

go-kratos.dev's People

Contributors

akalittle avatar caiwp avatar casper-mars avatar ccheers avatar cg831344 avatar charlesge129 avatar chengyayu avatar chenlixin93 avatar cidosx avatar codingcn avatar daemon365 avatar fengyuwusong avatar ferrisz avatar guowei-gong avatar justyer avatar kagaya85 avatar lintanghui avatar longxboy avatar mo3et avatar northes avatar pemako avatar rxrddd avatar sanshix avatar scrip7 avatar shenqidebaozi avatar terrygmx avatar tonybase avatar windfarer avatar ymh199478 avatar zhaoyang0415 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

go-kratos.dev's Issues

Document content correction and improvement

There are some old and non detailed problems in the existing documents, which need to be corrected module by module. We can actively participate, Including Chinese / English documents.
In order to prevent repeated submission, you can comment on the module you want to claim, and I will assign the module to you

现有文档存在一些老旧不详细的问题,需要逐个模块修正一下。大家可以积极参与进来,包括中文/英文文档。
为了防止重复提交,你可以对你想要申请的模块发表评论,我会把模块分配给你

Documentation difficult to understand due to grammatical errors.

Hey,

Just trying out Kratos, when reading through the documentation, there are several grammatical errors within the English version of the doc.

Such as the "Overview" page, this page describes why Kratos is a tool that a developer should use. However, reading it involves some form of interpretation and may include some confusion especially to those who are learning about microservices with Golang.

I think if you could fix and add more updates to the English documentation, you could get more people to use Kratos.

服务发现的时候,怎么指定group

我在项目中用nacos做了服务注册发现,注册的时候指定了服务的分组名称。客户端去发现服务时如何指定分组?
代码如下:
服务注册,指定了Group
r := nacos.New(client, nacos.WithGroup("XXX"))

发现服务:
conn, err := grpc.DialInsecure(
context.Background(),
grpc.WithEndpoint("discovery://[namespace]/"),
grpc.WithDiscovery(r),
)

discovery://[namespace]/ 这样写只能发现默认的分组,我试过用discovery://[namespace]//group这样的写法,并不行。求解答

代码错误 mysql返回了redis实例

Blog下面,依赖注入文档有代码错误

错误地方:

// 再封装个mysql
type mysql struct {
    m *MySQLClient
}

func NewMySQL(addr string) *redis {     // ---> 代码错误:这里应该是*mysql吧
    return &mysql{m: NewMySQLClient(addr)}
}

func (m *mysql) GetById(id string) string {
    return r.m.Exec("select data from biu where id = ? limit 1", id)
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.