mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2025-11-28 07:50:25 +08:00
添加golangci-lint配置
This commit is contained in:
@@ -13,9 +13,9 @@ func (this *DetailedError) Code() string {
|
||||
return this.code
|
||||
}
|
||||
|
||||
func NewDetailedError(code string, error string) *DetailedError {
|
||||
func NewDetailedError(code string, errString string) *DetailedError {
|
||||
return &DetailedError{
|
||||
msg: error,
|
||||
msg: errString,
|
||||
code: code,
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user