chore: run go fmt (#2897)

This commit is contained in:
afdesk
2022-10-02 12:33:21 +06:00
committed by GitHub
parent 16a7dc10e0
commit 2c39d4729a
3 changed files with 11 additions and 5 deletions

View File

@@ -1484,9 +1484,12 @@ func sanitizeBaseURL(baseURL string) string {
// baseServicePath composes the path prefix for the service (without <Method>).
// e.g.: baseServicePath("/twirp", "my.pkg", "MyService")
// returns => "/twirp/my.pkg.MyService/"
//
// returns => "/twirp/my.pkg.MyService/"
//
// e.g.: baseServicePath("", "", "MyService")
// returns => "/MyService/"
//
// returns => "/MyService/"
func baseServicePath(prefix, pkg, service string) string {
fullServiceName := service
if pkg != "" {