Skip to content
This repository was archived by the owner on Jun 27, 2023. It is now read-only.

Commit ab0f0fc

Browse files
committed
- applied go fmt
1 parent b8cf2c9 commit ab0f0fc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mockgen/mockgen.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,13 +164,13 @@ func (g *generator) in() {
164164

165165
func (g *generator) out() {
166166
if len(g.indent) > 0 {
167-
g.indent = g.indent[0: len(g.indent)-1]
167+
g.indent = g.indent[0 : len(g.indent)-1]
168168
}
169169
}
170170

171171
func removeDot(s string) string {
172172
if len(s) > 0 && s[len(s)-1] == '.' {
173-
return s[0: len(s)-1]
173+
return s[0 : len(s)-1]
174174
}
175175
return s
176176
}

0 commit comments

Comments
 (0)