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
|
||||
}
|
||||
|
||||
for i, t := range s[0] {
|
||||
fmt.Println(i, ":", t)
|
||||
}
|
||||
|
||||
var ok bool
|
||||
var book string
|
||||
var chapter int
|
||||
|
|
@ -120,7 +116,6 @@ func ParseRef(ref string) (*BibleRef, error) {
|
|||
}
|
||||
bref.Book = book
|
||||
|
||||
fmt.Println(book)
|
||||
// Handle single-chapter books (e.g. Philemon).
|
||||
if _, ok := singleChapters[book]; ok {
|
||||
if strings.Contains(s[0][5], "-") {
|
||||
|
|
|
|||
Loading…
Reference in a new issue