1
0
mirror of https://github.com/go-kratos/kratos.git synced 2025-01-26 03:52:12 +02:00
kratos/example/protobuf/api.ecode.go
Felix Hao 1481e14c12
add protoc gen ecode (#274)
* add protoc gen ecode
* add protobuf example
2019-08-16 11:15:38 +08:00

18 lines
322 B
Go

// Code generated by protoc-gen-ecode v0.1, DO NOT EDIT.
// source: api.proto
package api
import (
"github.com/bilibili/kratos/pkg/ecode"
)
// to suppressed 'imported but not used warning'
var _ ecode.Codes
// UserErrCode ecode
var (
UserNotExist = ecode.New(-404)
UserUpdateNameFailed = ecode.New(10000)
)