fix golangci linter

This commit is contained in:
chenkaiC4
2018-08-15 13:26:29 +08:00
committed by Sean DuBois
parent 1e3981d44c
commit 2b7ab19a94
20 changed files with 70 additions and 54 deletions

View File

@@ -90,3 +90,6 @@ type SyntaxError struct {
func (e *SyntaxError) Error() string {
return fmt.Sprintf("syntax error: %v", e.Err)
}
// ErrUnknownType indicates a Unknown info
var ErrUnknownType = errors.New("Unknown")