An open API service indexing awesome lists of open source software.

https://github.com/douyu/proto

Public interface definitions of APIs.
https://github.com/douyu/proto

Last synced: about 1 year ago
JSON representation

Public interface definitions of APIs.

Awesome Lists containing this project

README

          

proto
===

This is a protocol buffer library for Go.

- Best practices for Go with protobuf
- Support define HTTP API with protobuf
- Support generate HTTP router for echo server
- Support generate struct tag for protobuf message
- Support generate swagger docs

Install
---

```bash
make init
```

Probuf Lint
---

```bash
make lint
```

Protobuf Breaking check
---

```bash
make breaking
```

Generate
---

```bash
make generate
```

Test
---

```bash
make test
```

Serve Swagger Docs
---

```bash
make serve
```