refactoring with internal

This commit is contained in:
github_username_here
2026-03-04 14:21:24 +01:00
parent 8fdf7c190a
commit 7355158ff9
6 changed files with 88 additions and 70 deletions

21
internal/config/config.go Normal file
View File

@@ -0,0 +1,21 @@
package config
type Chapter struct{
Verses []string
Number int
}
type Book struct{
Chapters []Chapter
Version string
Name string
}
type Cfg struct{
Book Book
ConfigPath string
YamlPath string
HtmlPath string
BookList map[string]int
ProperName map[string]struct{}
}