加入CODE CHINA

· 不限速    · 不限空间    · 不限人数    · 私仓免费

免费加入
    README.md

    Introduction

    This is a template for doing go-micro development using GitLab. It's based on the helloworld Go Micro template.

    Reference links

    Getting started

    First thing to do is update main.go with your new project path:

    -       proto "gitlab.com/gitlab-org/project-templates/go-micro/proto"
    +       proto "gitlab.com/$YOUR_NAMESPACE/$PROJECT_NAME/proto"

    Note that these are not actual environment variables, but values you should replace.

    What's contained in this project

    • main.go - is the main definition of the service, handler and client
    • proto - contains the protobuf definition of the API

    Dependencies

    Install the following

    Run Service

    go run main.go

    Query Service

    micro call greeter Greeter.Hello '{"name": "John"}'

    项目简介

    当前项目暂无项目简介

    发行版本

    当前项目没有发行版本

    贡献者 2

    J Jason Lenny @Jason Lenny
    S Steve Azzopardi @Steve Azzopardi

    开发语言

    • Go 100.0 %