From b3bc6f3f6980fd7519c80bd9fe3dfa1679fc220f Mon Sep 17 00:00:00 2001 From: Smotrov Dmitriy Date: Tue, 29 Jan 2019 11:07:30 +0300 Subject: [PATCH] Fix comment in generate_service.go --- generator/generate_service.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generator/generate_service.go b/generator/generate_service.go index 39a268b..b084014 100644 --- a/generator/generate_service.go +++ b/generator/generate_service.go @@ -867,7 +867,7 @@ func (g *generateServiceEndpoints) generateMethodEndpoint() (err error) { if !failureFound { g.code.appendMultilineComment( []string{ - "Failer is an interface that should be implemented by response types.", + "Failure is an interface that should be implemented by response types.", "Response encoders can check if responses are Failer, and if so they've", "failed, and if so encode them using a separate write path based on the error.", },