Remove unused code from templates
This commit is contained in:
parent
b34a8e3212
commit
c278bb6667
6 changed files with 5 additions and 104 deletions
strmangle
|
@ -295,12 +295,6 @@ func WhereClause(start int, cols []string) string {
|
|||
return buf.String()
|
||||
}
|
||||
|
||||
// Substring returns a substring of str starting at index start and going
|
||||
// to end-1.
|
||||
func Substring(start, end int, str string) string {
|
||||
return str[start:end]
|
||||
}
|
||||
|
||||
// JoinSlices merges two string slices of equal length
|
||||
func JoinSlices(sep string, a, b []string) []string {
|
||||
lna, lnb := len(a), len(b)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue