mirror of
https://github.com/go-kratos/kratos.git
synced 2025-01-26 03:52:12 +02:00
1481e14c12
* add protoc gen ecode * add protobuf example
18 lines
322 B
Go
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)
|
|
)
|