refactoring with internal
This commit is contained in:
21
internal/config/config.go
Normal file
21
internal/config/config.go
Normal 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{}
|
||||
}
|
||||
Reference in New Issue
Block a user