Remove add function
This commit is contained in:
parent
96e41a628a
commit
e48d377e62
4
help.go
4
help.go
@ -422,10 +422,6 @@ func subtract(a, b int) int {
|
|||||||
return a - b
|
return a - b
|
||||||
}
|
}
|
||||||
|
|
||||||
func add(a, b int) int {
|
|
||||||
return a + b
|
|
||||||
}
|
|
||||||
|
|
||||||
func indent(spaces int, v string) string {
|
func indent(spaces int, v string) string {
|
||||||
pad := strings.Repeat(" ", spaces)
|
pad := strings.Repeat(" ", spaces)
|
||||||
return pad + strings.Replace(v, "\n", "\n"+pad, -1)
|
return pad + strings.Replace(v, "\n", "\n"+pad, -1)
|
||||||
|
Loading…
Reference in New Issue
Block a user