Cleanup.
This commit is contained in:
parent
c558be2fb4
commit
2e8c25a115
1 changed files with 0 additions and 5 deletions
|
|
@ -104,10 +104,6 @@ func ParseRef(ref string) (*BibleRef, error) {
|
||||||
return nil, ErrNoMatches
|
return nil, ErrNoMatches
|
||||||
}
|
}
|
||||||
|
|
||||||
for i, t := range s[0] {
|
|
||||||
fmt.Println(i, ":", t)
|
|
||||||
}
|
|
||||||
|
|
||||||
var ok bool
|
var ok bool
|
||||||
var book string
|
var book string
|
||||||
var chapter int
|
var chapter int
|
||||||
|
|
@ -120,7 +116,6 @@ func ParseRef(ref string) (*BibleRef, error) {
|
||||||
}
|
}
|
||||||
bref.Book = book
|
bref.Book = book
|
||||||
|
|
||||||
fmt.Println(book)
|
|
||||||
// Handle single-chapter books (e.g. Philemon).
|
// Handle single-chapter books (e.g. Philemon).
|
||||||
if _, ok := singleChapters[book]; ok {
|
if _, ok := singleChapters[book]; ok {
|
||||||
if strings.Contains(s[0][5], "-") {
|
if strings.Contains(s[0][5], "-") {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue