From b0b5409675c652d98f67960dfed5ae31c8d9851b Mon Sep 17 00:00:00 2001 From: Arran Ubels Date: Wed, 15 Feb 2023 23:37:27 +1100 Subject: [PATCH] Unused code --- parseany.go | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/parseany.go b/parseany.go index 4f3b72d..0407b79 100644 --- a/parseany.go +++ b/parseany.go @@ -2156,17 +2156,6 @@ func (p *parser) trimExtra() { } } -// func (p *parser) remove(i, length int) { -// if len(p.format) > i+length { -// //append(a[:i], a[j:]...) -// p.format = append(p.format[0:i], p.format[i+length:]...) -// } -// if len(p.datestr) > i+length { -// //append(a[:i], a[j:]...) -// p.datestr = fmt.Sprintf("%s%s", p.datestr[0:i], p.datestr[i+length:]) -// } -// } - func (p *parser) parse() (time.Time, error) { if p.t != nil { return *p.t, nil