package bible import "strings" var singleChapters = map[string]struct{}{ "oba": {}, "2jn": {}, "3jn": {}, "phm": {}, "jud": {}, } func HasSingleChapter(book string) bool { book = strings.ToLower(book) if _, ok := singleChapters[book]; ok { return true } return false }